1 | <?php declare(strict_types=1); |
||
22 | class TwigTemplateTask extends TemplateTask |
||
23 | { |
||
24 | /** |
||
25 | * FIXME missing docblock. |
||
26 | * |
||
27 | * @return string Task name. |
||
28 | */ |
||
29 | public function name(): string |
||
33 | |||
34 | /** |
||
35 | * Assembles and writes bakes the twig view file. |
||
36 | * |
||
37 | * @param string $action Action to bake. |
||
38 | * @param string $content Content to write. |
||
39 | * @return string Generated file content. |
||
40 | */ |
||
41 | 4 | public function bake($action, $content = ''): string |
|
58 | } |
||
59 |