| 1 | <?php |
||
| 10 | trait WidgetWrapperFactory |
||
| 11 | { |
||
| 12 | private $stack = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * |
||
| 16 | * @param [type] $args [description] |
||
|
|
|||
| 17 | * @return [type] [description] |
||
| 18 | */ |
||
| 19 | abstract protected function instantiateWidget($args); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * [asExpression description] |
||
| 23 | * @param [type] $html [description] |
||
| 24 | * @return [type] [description] |
||
| 25 | */ |
||
| 26 | abstract protected function asExpression($html); |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Being the widget |
||
| 30 | * |
||
| 31 | * @return Expression |
||
| 32 | */ |
||
| 33 | public function begin() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * End the widget |
||
| 44 | * |
||
| 45 | * @param array $config suplementry config |
||
| 46 | * @return Expression |
||
| 47 | */ |
||
| 48 | public function end($config = []) |
||
| 56 | } |
||
| 57 |
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.