private function getHttpClient()
    {
        if ($httpClient = $this->app->config->get('swap.http_client')) {
            return $this->app[$httpClient];
        }

        return null;
    }
private function getHttpClient()
    {
        if ($httpClient = $this->app->config->get('swap.http_client')) {
            return $this->app[$httpClient];
        }

        return null;
    }
private function getHttpClient ( ) { if ( $ httpClient = $ this -> app -> config -> get ( 'swap.http_client' ) ) { return $ this -> app [ $ httpClient ] ; } return null ; }
Gets the http client.

@return \Psr\Http\Client\ClientInterface|null
Gets the http client .