コード例 #1
0
ファイル: _ide_helper.php プロジェクト: nmkr/basic-starter
 /**
  * Gets the commands (registered in the given namespace if provided).
  * 
  * The array keys are the full names and the values the command instances.
  *
  * @param string $namespace A namespace name
  * @return \Symfony\Component\Console\Command[] An array of Command instances
  * @api 
  * @static 
  */
 public static function all($namespace = null)
 {
     //Method inherited from \Symfony\Component\Console\Application
     return \Illuminate\Console\Application::all($namespace);
 }
コード例 #2
0
ファイル: Kernel.php プロジェクト: recca0120/laravel-terminal
 /**
  * Get all of the commands registered with the console.
  *
  * @return array
  */
 public function all()
 {
     return $this->artisan->all();
 }