Esempio n. 1
0
 public function __construct(IfwPsn_Vendor_Twig_ExtensionInterface $extension, $method, array $options = array())
 {
     $options['callable'] = array($extension, $method);
     parent::__construct($options);
     $this->extension = $extension;
     $this->method = $method;
 }
Esempio n. 2
0
 public function __construct($function, array $options = array())
 {
     $options['callable'] = $function;
     parent::__construct($options);
     $this->function = $function;
 }
Esempio n. 3
0
 public function __construct($class, array $options = array())
 {
     parent::__construct($options);
     $this->class = $class;
 }