TheIconic\Tracking\GoogleAnalytics\Analytics::getHttpClient PHP Method

getHttpClient() private method

Gets the HttpClient.
private getHttpClient ( ) : HttpClient
return TheIconic\Tracking\GoogleAnalytics\Network\HttpClient
    private function getHttpClient()
    {
        if ($this->httpClient === null) {
            // @codeCoverageIgnoreStart
            $this->setHttpClient(new HttpClient());
        }
        // @codeCoverageIgnoreEnd
        return $this->httpClient;
    }