EngineInterface
interface EngineInterface implements EngineInterface
EngineInterface is the interface each engine must implement.
Methods
string
from EngineInterface
bool
from EngineInterface
bool
supports(string|TemplateReferenceInterface $name)
Returns true if this class is able to render the given template.
from EngineInterface
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
supports(string|TemplateReferenceInterface $name)
Returns true if this class is able to render the given template.