protected function getGuzzleHandler()
    {
        if (property_exists($this, 'app') && isset($this->app['guzzle_handler']) && is_string($this->app['guzzle_handler'])) {
            $handler = $this->app['guzzle_handler'];

            return new $handler();
        }

        return \GuzzleHttp\choose_handler();
    }
protected function getGuzzleHandler()
    {
        if (property_exists($this, 'app') && isset($this->app['guzzle_handler']) && is_string($this->app['guzzle_handler'])) {
            $handler = $this->app['guzzle_handler'];

            return new $handler();
        }

        return \GuzzleHttp\choose_handler();
    }
protected function getGuzzleHandler ( ) { if ( property_exists ( $ this , 'app' ) && isset ( $ this -> app [ 'guzzle_handler' ] ) && is_string ( $ this -> app [ 'guzzle_handler' ] ) ) { $ handler = $ this -> app [ 'guzzle_handler' ] ; return new $ handler ( ) ; } return \ GuzzleHttp \ choose_handler ( ) ; }
Get guzzle handler.

@return callable
Get guzzle handler .