Added sandbox support for functions
authorArnaud Le Blanc <arnaud.lb@gmail.com>
Sat, 25 Dec 2010 15:08:12 +0000 (16:08 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 30 Dec 2010 08:31:08 +0000 (09:31 +0100)
commit7794463706680fa13108e196fe554def94c08203
tree9fe9031d6d0abbe51a8b513fabcc3a8267d21600
parent3615e9a3860c476b6088e714c3c2c52252cbec22
Added sandbox support for functions
lib/Twig/Extension/Sandbox.php
lib/Twig/Node/SandboxedModule.php
lib/Twig/NodeVisitor/Sandbox.php
lib/Twig/Sandbox/SecurityPolicy.php
lib/Twig/Sandbox/SecurityPolicyInterface.php
test/Twig/Tests/Extension/SandboxTest.php
test/Twig/Tests/Node/SandboxedModuleTest.php