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:----swh3kTYaQOg5vQp/bxRj2qNinzSDGblyyWKrxocbsrxeu/jOoLgqIcpvNwUmn6Rvjqc471W2HXNVn+H6Aknw61qi9ZYOkFSfV0IjnDZjBRbSFc/ncErifRr23bZ40DKNtgRCe8OpvGmELYh9AnLbGAHBcbyYEedEAuFw4hhxoa+9ExDi5CD7FVK/XgVAwvpp9O8RUE2wBeIP6f2GyLOSCOSlBx0U9h/kABPpbBBZVfxn6p7hmGJ8F/ov/trDWeEXtTpIScZKOWOHzeMJ2XRxTb0qiim/vWmG/5HEusbEvfxS/tGfVrUUfZ3/PIzNt+oT0joVsc1xTEiYVGy8Cq1wiLWU8ATuTxD866H7roccr+BeIkziSJRhWcWf7l4kvcORpKiJzU+WDiTBj1Bda1w1Z8y0bcvzlINc7FUN9kGXzgYSIyZY1sXsRhrr9fKguFkrs+niTxtO9hajfisNMEQFdJiqfIZwTl5Nr3hAzEYO0glnL/Jy53Dv5nbf/Om6n/LI5RhmJHfS2Fnns5a9x9LCDI4TdiW6lB8t8RvZHgj8Fl9IR0okr1FBRUhOS6MbNYSRJFu4SiB8KceC+q0h0SFKZOwdPK88RL6cvcJ0PVDL/4hnrTAGVHtGnpR0cpTCyb2S31KlxAbOR6GHfiWQOtgSWFw8cFCUwj3+QLGZr3a6jNs=----ATTACHMENT:----NDI5MzUxNjAzMzE5NTE1NSA5NTc3NzcxNzUyNTU5MjQgMTI5Nzg1MjUwNjcyMjI1MQ==