Example #1
0
 /**
  * Add Command into Cli Application.
  *
  * @param SymfonyCommand $command
  * @return SymfonyCommand
  */
 public function add(SymfonyCommand $command)
 {
     if ($command instanceof Command) {
         $command->setDI($this->di);
         $command->setOrbit($this);
     }
     return $this->addToParent($command);
 }