interface EngineInterface implements EngineInterface
EngineInterface is the interface each engine must implement.
Methods
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. |
Details
string render(string|TemplateReferenceInterface $name, array $parameters = array())
Renders a template.
bool exists(string|TemplateReferenceInterface $name)
Returns true if the template exists.
bool supports(string|TemplateReferenceInterface $name)
Returns true if this class is able to render the given template.
Please login to continue.