| 1 | <?php |
||
| 10 | class MustacheEngine extends AbstractEngine |
||
|
|
|||
| 11 | { |
||
| 12 | private $stringRenderingEngine; |
||
| 13 | private $fileRenderingEngine; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * |
||
| 17 | * @return \Mustache_Engine |
||
| 18 | */ |
||
| 19 | public function __construct($stringRenderingEngine, $fileRenderingEngine) |
||
| 24 | |||
| 25 | protected function generate($data) |
||
| 30 | |||
| 31 | public function getTemplateFile($name) |
||
| 35 | |||
| 36 | protected function generateFromString($string, $data) |
||
| 41 | |||
| 42 | } |
||
| 43 |