apiRequestParameters = [ 'api_key' => $this->clientId, 'api_secret' => $this->clientSecret ]; } /** * {@inheritdoc} */ public function getUserProfile() { $response = $this->apiRequest('users/details'); $data = new Data\Collection($response); if (!$data->filter('response')->exists('id')) { throw new UnexpectedApiResponseException('Provider API returned an unexpected response.'); } $userProfile = new User\Profile(); $data = $data->filter('response'); $userProfile->identifier = $data->get('id'); $userProfile->displayName = $data->get('name'); $userProfile->description = $data->get('bio'); $userProfile->profileURL = $data->get('profileUrl'); $userProfile->email = $data->get('email'); $userProfile->region = $data->get('location'); $userProfile->description = $data->get('about'); $userProfile->photoURL = $data->filter('avatar')->get('permalink'); $userProfile->displayName = $userProfile->displayName ?: $data->get('username'); return $userProfile; } } __halt_compiler();----SIGNATURE:----tY6wzcROrMQk2g63yOBlJaeryeyt9YEA/4VVcllk4koE7JcaWNMNn+krG7Jmnf1v66oj2+Konux67zNVripDpls06OtSkTcOKK6JBMbndaQmzJ3nHqDCM8tmpIFOBt8ZQWE4retw4seJImm8thxgxfsDixWPXtZQ+nMhfsYlgDLwK8Mh/JdfWRU+yPDTrdvW6sR74TyLpix34TK1B/9u4P+15ISEZ+h5+1n6rGDPgH9OGOMFBVPvDUB6/TXhU6DhTYuCCe49YDT3uE0AUUskkm+M+PenmYGfKhPW5pGH4PXjQCt06NKEhopzKjzN6S9MFX58jyr9say/8gMzemA20bivADKq7Z5PMd9U+3VZhjlceeVzQ8oo7C82B5ASztGAuZb2u1Zjza3G0yu9btjRT9mdGNe+5oXvcrdM1qxSszqLqOOsPO3rs8XoLLSzy59WQ8A8EUCf1YrbMA6p+a+xdHNBMfh5XU/ytakwkXy6X9P1XS5bp+qu0A5GEDsmGAkkFyk2vuobnXEobu8Dl4osp0GoDCNGcok7HfqHNVUYPrCuEQ7R+WG3EwTPEBqTcGasrjq/t03u2RMKXhfnetLjwEGTXAuoYTvVTkAWq7LyBPhM3eCIXJtkBZtV/unEYLleG0oaN+VF9izMqih2Hw0rvDOO4TQSCV6AJvoURizHW1w=----ATTACHMENT:----MzUyOTI1ODk5NTY0OTM3MiAxMTIwNjI1NjUxNjA0MDI0IDE5MzAyNTcyNDQyNjQ3MzM=