protected registerEventScanner ( ) : void | ||
return | void |
protected function registerEventScanner()
{
$this->app->singleton('annotations.event.scanner', function ($app) {
$scanner = new EventScanner([]);
$scanner->addAnnotationNamespace('Collective\\Annotations\\Events\\Annotations\\Annotations', __DIR__ . '/Events/Annotations/Annotations');
return $scanner;
});
}