You are here

protected function Twig_Test_NodeTestCase::getEnvironment in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Test/NodeTestCase.php \Twig_Test_NodeTestCase::getEnvironment()
4 calls to Twig_Test_NodeTestCase::getEnvironment()
Twig_Tests_Node_Expression_FilterTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/FilterTest.php
Twig_Tests_Node_Expression_FunctionTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php
Twig_Tests_Node_Expression_TestTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/TestTest.php
Twig_Test_NodeTestCase::getCompiler in vendor/twig/twig/lib/Twig/Test/NodeTestCase.php
3 methods override Twig_Test_NodeTestCase::getEnvironment()
Twig_Tests_Node_Expression_FilterTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/FilterTest.php
Twig_Tests_Node_Expression_FunctionTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php
Twig_Tests_Node_Expression_TestTest::getEnvironment in vendor/twig/twig/test/Twig/Tests/Node/Expression/TestTest.php

File

vendor/twig/twig/lib/Twig/Test/NodeTestCase.php, line 40

Class

Twig_Test_NodeTestCase

Code

protected function getEnvironment() {
  return new Twig_Environment(new Twig_Loader_Array(array()));
}