/** * * @param \Opis\Colibri\Application $app * @param string $name * @param boolean $cancelable (optional) */ public function __construct(Application $app, $name, $cancelable = false) { $this->app = $app; parent::__construct($name, $cancelable); }
public function __construct($name, AbstractCollector $collector) { $this->collector = $collector; parent::__construct($name); }
public function __construct(string $name, Collector $collector) { $this->collector = $collector; parent::__construct($name); }