Represents a function template function.
@package twig @author Arnaud Le Blanc <arnaud.lb@gmail.com>
Expanded class hierarchy of Twig_Function_Function
class Twig_Function_Function extends Twig_Function {
protected $function;
public function __construct($function, array $options = array()) {
parent::__construct($options);
$this->function = $function;
}
public function compile() {
return $this->function;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Function:: |
protected | property | ||
Twig_Function:: |
protected | property | ||
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function:: |
public | function |
Overrides Twig_FunctionInterface:: |
|
Twig_Function_Function:: |
protected | property | ||
Twig_Function_Function:: |
public | function |
Compiles a function. Overrides Twig_FunctionInterface:: |
|
Twig_Function_Function:: |
public | function |
Overrides Twig_Function:: |