Twig_Filter

Implements\Twig_FilterInterface, \Twig_FilterCallableInterface

Represents a template filter.

Use \Twig\TwigFilter instead.

author

Fabien Potencier fabien@symfony.com

deprecated

since 1.12 (to be removed in 2.0)

package

Default

Methods

__construct

__construct(array $options = array())

Arguments

$options

array

getArguments

getArguments()

getCallable

getCallable()

getPreEscape

getPreEscape()

getPreservesSafety

getPreservesSafety()

getSafe

getSafe(\Twig\Node\Node $filterArgs)

Arguments

$filterArgs

\Twig\Node\Node

needsContext

needsContext()

needsEnvironment

needsEnvironment()

setArguments

setArguments( $arguments)

Arguments

$arguments

Properties

options

options :

Type(s)

arguments

arguments :

Type(s)