public function routeScans()
    {
        if ($this->scanEverything) {
            return $this->getAllClasses();
        }

        $classes = $this->scanRoutes;

        // scan the controllers namespace if the flag is set
        if ($this->scanControllers) {
            $classes = array_merge(
              $classes,
              $this->getClassesFromNamespace($this->getAppNamespace().'Http\\Controllers')
            );
        }

        return $classes;
    }
public function routeScans()
    {
        if ($this->scanEverything) {
            return $this->getAllClasses();
        }

        $classes = $this->scanRoutes;

        // scan the controllers namespace if the flag is set
        if ($this->scanControllers) {
            $classes = array_merge(
              $classes,
              $this->getClassesFromNamespace($this->getAppNamespace().'Http\\Controllers')
            );
        }

        return $classes;
    }
public function routeScans ( ) { if ( $ this -> scanEverything ) { return $ this -> getAllClasses ( ) ; } $ classes = $ this -> scanRoutes ; // scan the controllers namespace if the flag is set if ( $ this -> scanControllers ) { $ classes = array_merge ( $ classes , $ this -> getClassesFromNamespace ( $ this -> getAppNamespace ( ) . 'Http\\Controllers' ) ) ; } return $ classes ; }
Get the classes to be scanned by the provider.

@return array
Get the classes to be scanned by the provider .