lib/DefaultClient.php
public function setOption(string $option, $value) {
        $this->validateOption($option, $value);
        $this->options[$option] = $value;
    }
public function setOption(string $option, $value) {
        $this->validateOption($option, $value);
        $this->options[$option] = $value;
    }
public function setOption ( string $ option , $ value ) { $ this -> validateOption ( $ option , $ value ) ; $ this -> options [ $ option ] = $ value ; }
Set an option.

@param string $option A Client option constant
@param mixed  $value The option value to assign

@throws \Error On unknown option key or invalid value.
Set an option .