public function addOptions(array $options) : OptionGroup
    {
        foreach ($options as $value => $content) {
            $this->addOption($content, $value);
        }

        return $this;
    }
public function addOptions(array $options) : OptionGroup
    {
        foreach ($options as $value => $content) {
            $this->addOption($content, $value);
        }

        return $this;
    }
public function addOptions ( array $ options ) : OptionGroup { foreach ( $ options as $ value => $ content ) { $ this -> addOption ( $ content , $ value ) ; } return $ this ; }
Adds a batch of options to this OptionGroup.

@param array $options The options as key-value pairs.

@return OptionGroup
Adds a batch of options to this OptionGroup .