think\console\command\Make::configure PHP Méthode

configure() protected méthode

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

Usage Example

Exemple #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