public function __construct(array $scan) { $this->scan = $scan; }
/** * @param Application $app */ public function __construct(Application $app, array $scan) { $this->app = $app; //TODO option to set automatically $namespaces & annotationRegistery for simpler & faster config parent::__construct($scan); }