public function Twig_Tests_IntegrationTest::getExtensions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/test/Twig/Tests/IntegrationTest.php \Twig_Tests_IntegrationTest::getExtensions()
Return value
Overrides Twig_Test_IntegrationTestCase::getExtensions
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ IntegrationTest.php, line 21
Class
Code
public function getExtensions() {
$policy = new Twig_Sandbox_SecurityPolicy(array(), array(), array(), array(), array());
return array(
new Twig_Extension_Debug(),
new Twig_Extension_Sandbox($policy, false),
new Twig_Extension_StringLoader(),
new TwigTestExtension(),
);
}