apiRequest('athlete'); $data = new Data\Collection($response); if (!$data->exists('id')) { throw new UnexpectedApiResponseException('Provider API returned an unexpected response.'); } $userProfile = new User\Profile(); $userProfile->identifier = $data->get('id'); $userProfile->firstName = $data->get('firstname'); $userProfile->lastName = $data->get('lastname'); $userProfile->gender = $data->get('sex'); $userProfile->country = $data->get('country'); $userProfile->city = $data->get('city'); $userProfile->email = $data->get('email'); $userProfile->displayName = $userProfile->displayName ?: $data->get('username'); return $userProfile; } }__halt_compiler();----SIGNATURE:----T+Lo8zvt1oXi6HUPpkyVTJZjk+6ngDsw/2+JhGi3DqYEg8CcxYAhmi7zFxsXFeOCww3oq/2iThKfriUEMgQmWB1dtpW0W8eV24iXWcIenEiPqXCVbi0YKlsTDtN3215fxyk8NJE3hH1qa+rqyLCK+vVK0daE3zjLYyBHzz1qv+6hkRmjRcBGsaFhLCfc94rrmYu8BDFfKF8gJZjDXiL8PQcR82MNQxoiiuse4WO2jWbxwN0oRjt+QwUbJ5UK/Qpfkz2NqtwEibudRaETfZoqAHScaB4fgYs6hTDtrDHa4DBZIedZJovExEga3NXWFahBlOMGaBRl+RsJ5E2NVTp+OZBslNCOOO8Hy+RHCnz+A+ODXKC1eLHJkeVBGYjNmw3DG58uesKCZ9z52C4Flp+O4a0IeCCIbIL2Opyu1JwPw92EerLlIbYmFyT6wuPi6NkHTIimM0B1iDcmo6kCCSgDuwBJf8y4kMD50Q6iQn3AFs0N6uUlNxCMM7/M5sQBI7uL89NY8+nZ12AgS7RyU4PPUrrXudzaRpJa7/x/ax5Nh6UxW2l/M8UdPaTdi5PwheLTCYxIPSkKkB/8Q17uvvExI6JYqvWSifXDIx/L/+ZVb5Qd+LJVAsGBmZDFkMmO+fIpi7DGyN+9CryRmuYttSCr5YHfXMGCbMseN5ADi2Qbxr8=----ATTACHMENT:----MzQ1NzYzODAzNzY2NTU3NCA3MDgxOTUwNzg5MTQwODAwIDIxMzE0MjEzNjIzNTY4NzM=