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