You are here

protected function Twig_Tests_Node_Expression_FunctionTest::getEnvironment in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php \Twig_Tests_Node_Expression_FunctionTest::getEnvironment()

Overrides Twig_Test_NodeTestCase::getEnvironment

File

vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php, line 98

Class

Twig_Tests_Node_Expression_FunctionTest

Code

protected function getEnvironment() {
  if (PHP_VERSION_ID >= 50300) {
    return include 'PHP53/FunctionInclude.php';
  }
  return parent::getEnvironment();
}