interface EngineInterface implements EngineInterface
EngineInterface is the interface each engine must implement.
Methods
| string |
render(mixed $name, array $parameters = array())
Renders a template. |
from EngineInterface |
| Boolean |
exists(mixed $name)
Returns true if the template exists. |
from EngineInterface |
| Boolean |
supports(mixed $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
in EngineInterface at line 47
public string
render(mixed $name, array $parameters = array())
Renders a template.
in EngineInterface at line 58
public Boolean
exists(mixed $name)
Returns true if the template exists.
in EngineInterface at line 69
public Boolean
supports(mixed $name)
Returns true if this class is able to render the given template.
at line 33
public Response
renderResponse(string $view, array $parameters = array(), Response $response = null)
Renders a view and returns a Response.