1 | <?php |
||
63 | class BaseTemplate |
||
64 | { |
||
65 | /** |
||
66 | * I don't know what I'm doing with parameters in templates yet |
||
67 | * @return [type] [description] |
||
|
|||
68 | */ |
||
69 | public function getParams() |
||
73 | |||
74 | public function setParams($params = array()) |
||
78 | |||
79 | /** |
||
80 | * does our subclass provide a method called 'perPhaseSetup'? |
||
81 | * |
||
82 | * @return boolean |
||
83 | * TRUE if it does |
||
84 | * FALSE otherwise |
||
85 | */ |
||
86 | public function hasPerPhaseSetup() |
||
90 | |||
91 | /** |
||
92 | * does our subclass provide a method called 'perPhaseTeardown'? |
||
93 | * |
||
94 | * @return boolean |
||
95 | * TRUE if it does |
||
96 | * FALSE otherwise |
||
97 | */ |
||
98 | public function hasPerPhaseTeardown() |
||
102 | |||
103 | /** |
||
104 | * does our subclass provide a method called 'deviceSetup'? |
||
105 | * |
||
106 | * @return boolean |
||
107 | * TRUE if it does |
||
108 | * FALSE otherwise |
||
109 | */ |
||
110 | public function hasDeviceSetup() |
||
114 | |||
115 | /** |
||
116 | * does our subclass provide a method called 'deviceTeardown'? |
||
117 | * |
||
118 | * @return boolean |
||
119 | * TRUE if it does |
||
120 | * FALSE otherwise |
||
121 | */ |
||
122 | public function hasDeviceTeardown() |
||
126 | |||
127 | /** |
||
128 | * return our 'perPhaseSetup' method as a callable |
||
129 | * |
||
130 | * @return callable |
||
131 | */ |
||
132 | public function getPerPhaseSetup() |
||
140 | |||
141 | /** |
||
142 | * return our 'perPhaseTeardown' method as a callable |
||
143 | * |
||
144 | * @return callable |
||
145 | */ |
||
146 | public function getPerPhaseTeardown() |
||
154 | |||
155 | /** |
||
156 | * return our 'deviceSetup' method as a callable |
||
157 | * |
||
158 | * @return callable |
||
159 | */ |
||
160 | public function getDeviceSetup() |
||
168 | |||
169 | /** |
||
170 | * return our 'deviceTeardown' method as a callable |
||
171 | * |
||
172 | * @return callable |
||
173 | */ |
||
174 | public function getDeviceTeardown() |
||
182 | |||
183 | /** |
||
184 | * which file is this template defined in? |
||
185 | * |
||
186 | * @return string |
||
187 | */ |
||
188 | public function getSourceFilename() |
||
193 | } |
||
194 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.