| 1 | <?php |
||
| 13 | class HandlebarsEngine implements EngineInterface |
||
| 14 | { |
||
| 15 | protected $engine; |
||
| 16 | protected $parser; |
||
| 17 | protected $environment; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor. |
||
| 21 | * |
||
| 22 | * @param HandlebarsEnvironment $handlebars A HandlebarsEnvironment instance |
||
| 23 | * @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance |
||
| 24 | */ |
||
| 25 | 10 | public function __construct(HandlebarsEnvironment $handlebars, TemplateNameParserInterface $parser) |
|
| 30 | |||
| 31 | 5 | public function render($name, array $parameters = array()) |
|
| 35 | |||
| 36 | 1 | public function exists($name) |
|
| 42 | |||
| 43 | 4 | public function supports($name) |
|
| 49 | |||
| 50 | 2 | public function renderResponse($view, array $parameters = array(), Response $response = null) |
|
| 60 | } |
||
| 61 |