public function setOption($option, $value)
    {
        if (!is_string($option)) {
            throw AssetException::invalidOption();
        }

        $this->options[$option] = $value;
    }
public function setOption($option, $value)
    {
        if (!is_string($option)) {
            throw AssetException::invalidOption();
        }

        $this->options[$option] = $value;
    }
public function setOption ( $ option , $ value ) { if ( ! is_string ( $ option ) ) { throw AssetException :: invalidOption ( ) ; } $ this -> options [ $ option ] = $ value ; }
Sets a specific option.

@param string $option The option
@param mixed  $value  The option value.

@throws \Ivory\GoogleMap\Exception\AssetException If the option is not valid.
Sets a specific option .