/**
* Load the annotated routes
*
* @return void
*/
protected function loadAnnotatedRoutes()
{
if ($this->app->environment('local') && $this->scanWhenLocal) {
$this->scanRoutes();
}
$scans = $this->routeScans();
if (!empty($scans) && $this->finder->routesAreScanned()) {
$this->loadScannedRoutes();
}
}