protected function Twig_Tests_Node_Expression_FunctionTest::createFunction in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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
Code
protected function createFunction($name, array $arguments = array()) {
return new Twig_Node_Expression_Function($name, new Twig_Node($arguments), 1);
}