示例#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;
 }