public function getHttpClient()
    {
        if (!is_null($this->httpClient)) {
            return $this->httpClient;
        }

        return $this->httpClient = new Client([
            'base_uri' => $this->storageUrl(),
            'headers' => [
                'X-Auth-Token' => $this->token(),
            ],
        ]);
    }
public function getHttpClient()
    {
        if (!is_null($this->httpClient)) {
            return $this->httpClient;
        }

        return $this->httpClient = new Client([
            'base_uri' => $this->storageUrl(),
            'headers' => [
                'X-Auth-Token' => $this->token(),
            ],
        ]);
    }
public function getHttpClient ( ) { if ( ! is_null ( $ this -> httpClient ) ) { return $ this -> httpClient ; } return $ this -> httpClient = new Client ( [ 'base_uri' => $ this -> storageUrl ( ) , 'headers' => [ 'X-Auth-Token' => $ this -> token ( ) , ] , ] ) ; }
HTTP Client.

@return \GuzzleHttp\ClientInterface|null
HTTP Client .