src/PHPHtmlParser/Options.php
public function setOptions(array $options): Options
    {
        foreach ($options as $key => $option) {
            $this->options[$key] = $option;
        }

        return $this;
    }
public function setOptions(array $options): Options
    {
        foreach ($options as $key => $option) {
            $this->options[$key] = $option;
        }

        return $this;
    }
public function setOptions ( array $ options ) : Options { foreach ( $ options as $ key => $ option ) { $ this -> options [ $ key ] = $ option ; } return $ this ; }
Sets a new options param to override the current option array.

@param array $options
@return Options
@chainable
Sets a new options param to override the current option array .