public function Twig_Test_Function::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Test/Function.php \Twig_Test_Function::__construct()
Overrides Twig_Test::__construct
File
- vendor/
twig/ twig/ lib/ Twig/ Test/ Function.php, line 25
Class
- Twig_Test_Function
- Represents a function template test.
Code
public function __construct($function, array $options = array()) {
$options['callable'] = $function;
parent::__construct($options);
$this->function = $function;
}