think\console\command\Make::configure PHP 메소드

configure() 보호된 메소드

protected configure ( )
    protected function configure()
    {
        $this->addArgument('name', Argument::REQUIRED, "The name of the class");
    }

Usage Example

예제 #1
0
 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');
 }
All Usage Examples Of think\console\command\Make::configure