protected function getClient(): HttpClient
    {
        if ($this->_client == null) {
            $this->_client = new HttpClient(['base_uri' => $this->_endpoint]);
        }

        return $this->_client;
    }
protected function getClient(): HttpClient
    {
        if ($this->_client == null) {
            $this->_client = new HttpClient(['base_uri' => $this->_endpoint]);
        }

        return $this->_client;
    }
protected function getClient ( ) : HttpClient { if ( $ this -> _client == null ) { $ this -> _client = new HttpClient ( [ 'base_uri' => $ this -> _endpoint ] ) ; } return $ this -> _client ; }
returns the Guzzle client.

@return HttpClient
returns the Guzzle client .