public function getProfile($email)
    {
        $url = $this->getProfileUrl($email);

        $httpClient = &$this->httpClient;
        $response = $httpClient->get($url);

        $data = $response->json();

        return $data['entry'][0];
    }
public function getProfile($email)
    {
        $url = $this->getProfileUrl($email);

        $httpClient = &$this->httpClient;
        $response = $httpClient->get($url);

        $data = $response->json();

        return $data['entry'][0];
    }
public function getProfile ( $ email ) { $ url = $ this -> getProfileUrl ( $ email ) ; $ httpClient = & $ this -> httpClient ; $ response = $ httpClient -> get ( $ url ) ; $ data = $ response -> json ( ) ; return $ data [ 'entry' ] [ 0 ] ; }
Get user profile data.

@param string $email User email.

@return array
Get user profile data .