\Twig_TokenParser_Sandbox

Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.

{% sandbox %}
    {% include 'user.html' %}
{% endsandbox %}

Summary

Methods
Properties
Constants
setParser()
parse()
decideBlockEnd()
getTag()
No public properties found
No constants found
No protected methods found
$parser
N/A
No private methods found
No private properties found
N/A

Properties

Methods

setParser()

setParser(\Twig_Parser  $parser) 

Sets the parser associated with this token parser.

Parameters

\Twig_Parser $parser

parse()

parse(\Twig_Token  $token) 

Parameters

\Twig_Token $token

decideBlockEnd()

decideBlockEnd(\Twig_Token  $token) 

Parameters

\Twig_Token $token

getTag()

getTag()