protected function setOptions(array $options)
    {
        $this->options = array_merge(
            array_map(
                function ($value) {
                    return $value[0];
                },
                $this->supportedOptions
            ),
            $options
        );
    }
protected function setOptions(array $options)
    {
        $this->options = array_merge(
            array_map(
                function ($value) {
                    return $value[0];
                },
                $this->supportedOptions
            ),
            $options
        );
    }
protected function setOptions ( array $ options ) { $ this -> options = array_merge ( array_map ( function ( $ value ) { return $ value [ 0 ] ; } , $ this -> supportedOptions ) , $ options ) ; }
Merges the given options with the default values
and sets the resulting options in this object.

@param array $options
@return void
Merges the given options with the default values and sets the resulting options in this object .