routeScans() public method

Get the classes to be scanned by the provider.
public routeScans ( ) : array
return array
コード例 #1
0
 /**
  * Get the route definitions for the annotations.
  *
  * @return string
  */
 protected function getRouteDefinitions()
 {
     $scanner = $this->laravel->make('annotations.route.scanner');
     $scanner->setClassesToScan($this->provider->routeScans());
     return '<?php ' . PHP_EOL . PHP_EOL . $scanner->getRouteDefinitions() . PHP_EOL;
 }