protected function setConfigOption($what, $value)
    {
        $closure = function () use ($what, $value) {
            /* @var $this \GuzzleHttp\Client */
            $this->config[$what] = $value;
        };

        $closure = $closure->bindTo($this, \GuzzleHttp\Client::class);
        $closure();
    }
protected function setConfigOption($what, $value)
    {
        $closure = function () use ($what, $value) {
            /* @var $this \GuzzleHttp\Client */
            $this->config[$what] = $value;
        };

        $closure = $closure->bindTo($this, \GuzzleHttp\Client::class);
        $closure();
    }
protected function setConfigOption ( $ what , $ value ) { $ closure = function ( ) use ( $ what , $ value ) { /* @var $this \GuzzleHttp\Client */ $ this -> config [ $ what ] = $ value ; } ; $ closure = $ closure -> bindTo ( $ this , \ GuzzleHttp \ Client :: class ) ; $ closure ( ) ; }
Set values on the private \GuzzleHttp\Client->config

This is a terrible hack, and illustrates why making
anything private makes it difficult to extend, and impossible
when there is no setter.

@param string $what Config option to set
@param mixed $value Value to set the option to
@return void
Set values on the private \ GuzzleHttp \ Client - > config