Beispiel #1
0
 /**
  * Get the application namespace.
  *
  * @return string 
  * @throws \RuntimeException
  * @static 
  */
 public static function getNamespace()
 {
     return \Illuminate\Foundation\Application::getNamespace();
 }
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(Application $application)
 {
     parent::__construct();
     $this->controllersNamespace = $application->getNamespace() . $this->controllersNamespace;
 }