예제 #1
0
파일: test.php 프로젝트: dez-php/dez-cli
 public function __construct(Cli $application)
 {
     $this->setApplication($application);
     parent::__construct();
 }
예제 #2
0
파일: Cli.php 프로젝트: dez-php/dez-cli
 /**
  * @param $command
  */
 public function add(Command $command)
 {
     $this->commands[$command->getName()] = $command;
 }