Twig_Test

Represents a template test.

Defined (1)

The class is defined in the following location(s).

/vendor/twig/twig/lib/Twig/Test.php  
  1. abstract class Twig_Test implements Twig_TestInterface, Twig_TestCallableInterface 
  2. protected $options; 
  3. protected $arguments = array(); 
  4.  
  5. public function __construct(array $options = array()) 
  6. $this->options = array_merge(array( 
  7. 'callable' => null,  
  8. ), $options); 
  9.  
  10. public function getCallable() 
  11. return $this->options['callable'];