1 | <?php |
||
21 | class NullEngine implements EngineInterface |
||
22 | { |
||
23 | /** |
||
24 | * Add a template directory to look for template files inside. |
||
25 | * |
||
26 | * @param string $path The path to a template directory to load templates from. |
||
27 | * @return boolean |
||
28 | */ |
||
29 | public function addPath($path) |
||
33 | |||
34 | /** |
||
35 | * Render the given template name and return the result as a string. |
||
36 | * |
||
37 | * @param string $templateName The name of the template to render |
||
38 | * @param array $parameters Any parameters to render the template with |
||
39 | * @throws \Exception |
||
40 | * @return string |
||
41 | */ |
||
42 | public function render($templateName, array $parameters = array()) |
||
46 | } |
||
47 |