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