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; }
public function __construct($function, array $options = array()) { $options['callable'] = $function; parent::__construct($options); $this->function = $function; }
public function __construct($class, array $options = array()) { parent::__construct($options); $this->class = $class; }