public function addOptions(array $options = []): void
    {
        foreach ($options as $name => $opt) {
            $opt = $this->mergeArgOptConfig($opt);
            $this->addOption($name, $opt['mode'], $opt['description'], $opt['default']);
        }
    }
public function addOptions(array $options = []): void
    {
        foreach ($options as $name => $opt) {
            $opt = $this->mergeArgOptConfig($opt);
            $this->addOption($name, $opt['mode'], $opt['description'], $opt['default']);
        }
    }
public function addOptions ( array $ options = [ ] ) : void { foreach ( $ options as $ name => $ opt ) { $ opt = $ this -> mergeArgOptConfig ( $ opt ) ; $ this -> addOption ( $ name , $ opt [ 'mode' ] , $ opt [ 'description' ] , $ opt [ 'default' ] ) ; } }
Adds an array of option

@param array
@throws \LogicException
@throws \InvalidArgumentException
Adds an array of option