Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
{% sandbox %} {% include 'user.html' %} {% endsandbox %}
package | Default |
---|
decideBlockEnd(\Twig\Token $token)
\Twig\Token
getTag()
parse(\Twig\Token $token)
\Twig\Token
setParser(\Twig\Parser $parser)