/**
  * Overridden so that the application doesn't expect the command
  * name to be the first argument.
  */
 public function getDefinition()
 {
     $inputDefinition = parent::getDefinition();
     // clear out the normal first argument, which is the command name
     $inputDefinition->setArguments();
     return $inputDefinition;
 }
Exemplo n.º 2
0
 /**
  * Gets the InputDefinition related to this Application.
  *
  * @return \Symfony\Component\Console\InputDefinition The InputDefinition instance
  * @static 
  */
 public static function getDefinition()
 {
     //Method inherited from \Symfony\Component\Console\Application
     return \Illuminate\Console\Application::getDefinition();
 }