/**
* Load the annotated events.
*
* @return void
*/
public function loadAnnotatedEvents()
{
if ($this->app->environment('local') && $this->scanWhenLocal) {
$this->scanEvents();
}
$scans = $this->eventScans();
if (!empty($scans) && $this->finder->eventsAreScanned()) {
$this->loadScannedEvents();
}
}