public function Twig_Function_Function::__construct in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Function/Function.php \Twig_Function_Function::__construct()
Overrides Twig_Function::__construct
File
- vendor/
Twig/ Function/ Function.php, line 28
Class
- Twig_Function_Function
- Represents a function template function.
Code
public function __construct($function, array $options = array()) {
$options['callable'] = $function;
parent::__construct($options);
$this->function = $function;
}