| 1 | <?php |
||
| 8 | class Mustache implements Engine { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * The mustache compiler engine. |
||
| 12 | * |
||
| 13 | * @var \Mustache_Engine |
||
| 14 | */ |
||
| 15 | protected $compiler; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Fetch the compiler. |
||
| 19 | * |
||
| 20 | * @return \Mustache_Engine |
||
| 21 | */ |
||
| 22 | 47 | public function compiler() |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Render the template content. |
||
| 31 | * |
||
| 32 | * @param string $path |
||
| 33 | * @param array $properties |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 47 | public function render($path, $properties = []) |
|
| 42 | |||
| 43 | } |
||
| 44 |