1 | <?php |
||
19 | final class TwigTemplateTask extends TemplateTask |
||
20 | { |
||
21 | /** |
||
22 | * @return string Task name. |
||
23 | */ |
||
24 | public function name(): string |
||
28 | |||
29 | /** |
||
30 | * Assembles and writes bakes the twig view file. |
||
31 | * |
||
32 | * @param string $action Action to bake. |
||
33 | * @param string $content Content to write. |
||
34 | * @param string $outputFile The destination action name. If null, will fallback to $template. |
||
35 | * @return string Generated file content. |
||
36 | */ |
||
37 | public function bake($action, $content = '', $outputFile = null): string |
||
57 | } |
||
58 |