/** * @return \GuzzleHttp\Client */ protected function _getGuzzleClient() { if (!self::$_client) { self::$_client = new \GuzzleHttp\Client(['base_url' => 'http://www.google-analytics.com']); } return self::$_client; }