You are here

protected function Twig_Tests_Node_Expression_FunctionTest::createFunction 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::createFunction()
1 call to Twig_Tests_Node_Expression_FunctionTest::createFunction()
Twig_Tests_Node_Expression_FunctionTest::getTests in vendor/twig/twig/test/Twig/Tests/Node/Expression/FunctionTest.php

File

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

Class

Twig_Tests_Node_Expression_FunctionTest

Code

protected function createFunction($name, array $arguments = array()) {
  return new Twig_Node_Expression_Function($name, new Twig_Node($arguments), 1);
}