Class Twig_Function_Method

InheritanceTwig_Function_Method » Twig_Function
ImplementsTwig_FunctionCallableInterface, Twig_FunctionInterface
Deprecated since version since 1.12 (to be removed in 2.0)

Represents a method template function.

Use Twig_SimpleFunction 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 ( )