Class Twig_Function_Function

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

Represents a function template function.

Use Twig_SimpleFunction instead.

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