Example #1
0
 public function __construct(Cli $application)
 {
     $this->setApplication($application);
     parent::__construct();
 }
Example #2
0
 /**
  * @param $command
  */
 public function add(Command $command)
 {
     $this->commands[$command->getName()] = $command;
 }