Interface Twig_FilterInterface

Implemented byTwig_Filter, Twig_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.

Method Details

compile() public abstract method

Compiles a filter.

public abstract string compile ( )
return string

The PHP code for the filter

getArguments() public abstract method

public abstract void getArguments ( )
getPreEscape() public abstract method

public abstract void getPreEscape ( )
getPreservesSafety() public abstract method

public abstract void getPreservesSafety ( )
getSafe() public abstract method

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

public abstract void needsContext ( )
needsEnvironment() public abstract method

public abstract void needsEnvironment ( )
setArguments() public abstract method

public abstract void setArguments ( $arguments )
$arguments