Twig_Environment::getFunction
Get a function by name.
Subclasses may override this method and load functions differently; so no list of functions is available.
Signature
public function getFunction(string
$name )
Parameters
$name
— string- function name
Returns
- Twig_Function|false
- A Twig_Function instance or false if the function does not exist