interface Twig_TemplateInterface
Interface implemented by all compiled templates.
Constants
| ANY_CALL |
|
| ARRAY_CALL |
|
| METHOD_CALL |
|
Methods
| string |
render(array $context)
Renders the template with the given context and returns it as string. |
|
|
display(array $context, array $blocks = array())
Displays the template with the given context. |
||
| Twig_Environment |
getEnvironment()
Returns the bound environment for this template. |
Details
at line 31
public string
render(array $context)
Renders the template with the given context and returns it as string.
at line 39
public
display(array $context, array $blocks = array())
Displays the template with the given context.
at line 46
public Twig_Environment
getEnvironment()
Returns the bound environment for this template.