$parser
$parser : \Twig_Parser
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %} {% include 'user.html' %} {% endsandbox %}
$parser : \Twig_Parser
parse(\Twig_Token $token)
\Twig_Token | $token |
decideBlockEnd(\Twig_Token $token)
\Twig_Token | $token |
setParser(\Twig_Parser $parser)
Sets the parser associated with this token parser.
\Twig_Parser | $parser |
Loading…