You are here

public function Twig_Tests_EnvironmentTest_Extension::getFunctions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_Extension::getFunctions()

File

vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php, line 247

Class

Twig_Tests_EnvironmentTest_Extension

Code

public function getFunctions() {
  return array(
    new Twig_SimpleFunction('foo_function', 'foo_function'),
  );
}