public function setOptions(array $options = []): void
    {
        $this->options = $this->shortcuts = [];
        $this->addOptions($options);
    }
public function setOptions(array $options = []): void
    {
        $this->options = $this->shortcuts = [];
        $this->addOptions($options);
    }
public function setOptions ( array $ options = [ ] ) : void { $ this -> options = $ this -> shortcuts = [ ] ; $ this -> addOptions ( $ options ) ; }
Sets the options

@param array[] $options An array of InputOption objects
@throws \LogicException
@throws \InvalidArgumentException
Sets the options