Definition at line 12 of file SandboxTest.php.
◆ getTests()
Twig_Tests_Node_SandboxTest::getTests |
( |
| ) |
|
Definition at line 22 of file SandboxTest.php.
References array, and EOF.
31 \$sandbox = \$this->env->getExtension(
'Twig_Extension_Sandbox');
32 if (!\$alreadySandboxed = \$sandbox->isSandboxed()) {
33 \$sandbox->enableSandbox();
36 if (!\$alreadySandboxed) {
37 \$sandbox->disableSandbox();
Represents a sandbox node.
Create styles array
The data for the language used.
const EOF
How fgetc() reports an End Of File.
◆ testConstructor()
Twig_Tests_Node_SandboxTest::testConstructor |
( |
| ) |
|
Definition at line 14 of file SandboxTest.php.
19 $this->assertEquals($body, $node->getNode(
'body'));
Represents a sandbox node.
The documentation for this class was generated from the following file: