public function Twig_SimpleTest::__construct in Translation template extractor 6.3        
                          
                  
                        Same name and namespace in other branches
- 7.3 vendor/Twig/SimpleTest.php \Twig_SimpleTest::__construct()
 
 
File
 
   - vendor/Twig/SimpleTest.php, line 23
 
  
  Class
  
  - Twig_SimpleTest 
 
  - Represents a template test.
 
Code
public function __construct($name, $callable, array $options = array()) {
  $this->name = $name;
  $this->callable = $callable;
  $this->options = array_merge(array(
    'node_class' => 'Twig_Node_Expression_Test',
  ), $options);
}