Abstract Class Twig_Filter

InheritanceTwig_Filter
ImplementsTwig_FilterCallableInterface, Twig_FilterInterface
SubclassesTwig_Filter_Function, Twig_Filter_Method, Twig_Filter_Node
Deprecated since version since 1.12 (to be removed in 2.0)

Represents a template filter.

Use Twig_SimpleFilter instead.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$arguments Twig_Filter
$options Twig_Filter

Property Details

$arguments protected property
protected $arguments = []
$options protected property
protected $options null

Method Details

__construct() public method

public void __construct ( array $options = [] )
$options
getArguments() public method

public void getArguments ( )
getCallable() public method

public void getCallable ( )
getPreEscape() public method

public void getPreEscape ( )
getPreservesSafety() public method

public void getPreservesSafety ( )
getSafe() public method

public void getSafe ( Twig_Node $filterArgs )
$filterArgs
needsContext() public method

public void needsContext ( )
needsEnvironment() public method

public void needsEnvironment ( )
setArguments() public method

public void setArguments ( $arguments )
$arguments