think\console\command\Make::configure PHP Method

configure() protected method

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

Usage Example

Exemplo n.º 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