configure() protected method

protected configure ( )
コード例 #1
0
ファイル: Controller.php プロジェクト: top-think/framework
 protected function configure()
 {
     parent::configure();
     $this->setName('make:controller')->addOption('plain', null, Option::VALUE_NONE, 'Generate an empty controller class.')->setDescription('Create a new resource controller class');
 }
コード例 #2
0
ファイル: Model.php プロジェクト: top-think/framework
 protected function configure()
 {
     parent::configure();
     $this->setName('make:model')->setDescription('Create a new model class');
 }