interface EngineInterface implements EngineInterface
EngineInterface is the interface each engine must implement.
string | render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. | from EngineInterface |
bool | exists(string|TemplateReferenceInterface $name) Returns true if the template exists. | from EngineInterface |
bool | supports(string|TemplateReferenceInterface $name) Returns true if this class is able to render the given template. | from EngineInterface |
Response | renderResponse(string $view, array $parameters = array(), Response $response = null) Renders a view and returns a Response. |
Renders a template.
Returns true if the template exists.
Returns true if this class is able to render the given template.
Renders a view and returns a Response.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/FrameworkBundle/Templating/EngineInterface.html