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