public function loadProfileFromResponse(Response $response)
    {
        if (!$token = $response->headers->get('X-Debug-Token')) {
            return false;
        }

        return $this->loadProfile($token);
    }
public function loadProfileFromResponse(Response $response)
    {
        if (!$token = $response->headers->get('X-Debug-Token')) {
            return false;
        }

        return $this->loadProfile($token);
    }
public function loadProfileFromResponse ( Response $ response ) { if ( ! $ token = $ response -> headers -> get ( 'X-Debug-Token' ) ) { return false ; } return $ this -> loadProfile ( $ token ) ; }
Loads the Profile for the given Response.

@return Profile|false A Profile instance
Loads the Profile for the given Response .