| 1 | <?php |
||
| 9 | class Renderer extends BaseRenderer |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param string|null $cacheDir A directory to cache rendered templates into (enables caching). |
||
| 13 | * @param string|null $partialsDir A directory where static partials are stored. |
||
| 14 | */ |
||
| 15 | public function __construct($cacheDir = null, $partialsDir = null) |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $file The file to load. |
||
| 24 | * @param array $data The data to inject. |
||
| 25 | * @return string The rendered output. |
||
| 26 | */ |
||
| 27 | public function render($file, array $data) |
||
| 42 | } |
||
| 43 |