Class Twig_Filter_Method

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

Represents a method template filter.

Use Twig_SimpleFilter instead.

Property Details

$extension protected property
protected $extension null
$method protected property
protected $method null

Method Details

__construct() public method

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

public void compile ( )