Example #1
0
 /**
  * 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);
 }
Example #2
0
 /**
  * Get all of the commands registered with the console.
  *
  * @return array
  */
 public function all()
 {
     return $this->artisan->all();
 }