$name
$name :
Represents a template function.
__construct(string $name, callable|null $callable = null, array $options = array())
Creates a template function.
string | $name | Name of this function |
callable|null | $callable | A callable implementing the function. If null, you need to overwrite the "node_class" option to customize compilation. |
array | $options | Options array |
getSafe(\Twig_Node $functionArgs)
\Twig_Node | $functionArgs |
Loading…