protected function scanRoutes()
{
$scans = $this->routeScans();
if (empty($scans)) {
return;
}
$scanner = $this->app->make('annotations.route.scanner');
$scanner->setClassesToScan($scans);
file_put_contents($this->finder->getScannedRoutesPath(), '<?php ' . $scanner->getRouteDefinitions());
}