Class Twig_Filter_Function

InheritanceTwig_Filter_Function » Twig_Filter
ImplementsTwig_FilterCallableInterface, Twig_FilterInterface
Deprecated since version since 1.12 (to be removed in 2.0)

Represents a function template filter.

Use Twig_SimpleFilter instead.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$arguments Twig_Filter
$function Twig_Filter_Function
$options Twig_Filter

Property Details

$function protected property
protected $function null

Method Details

__construct() public method

public void __construct ( $function, array $options = [] )
$function
$options
compile() public method

public void compile ( )