Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand::configure PHP Method

configure() protected method

configure.
protected configure ( )
    protected function configure()
    {
        $this->addOption('country', 'c', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Countries to be loaded, using Iso format')->addOption('drop-if-exists', null, InputOption::VALUE_NONE, 'Drop country if this is already loaded');
    }

Usage Example

コード例 #1
0
 /**
  * configure.
  */
 protected function configure()
 {
     $this->setName('elcodi:locations:drop')->setDescription('Drop a set of countries');
     parent::configure();
 }
All Usage Examples Of Elcodi\Component\Geo\Command\Abstracts\AbstractLocationCommand::configure