protected function parseReponse($response)
    {
        if(empty($response))
        {
            throw new ResponseException('PaynetEasy response is empty');
        }

        $responseFields = array();

        parse_str($response, $responseFields);

        return new Response($responseFields);
    }
protected function parseReponse($response)
    {
        if(empty($response))
        {
            throw new ResponseException('PaynetEasy response is empty');
        }

        $responseFields = array();

        parse_str($response, $responseFields);

        return new Response($responseFields);
    }
protected function parseReponse ( $ response ) { if ( empty ( $ response ) ) { throw new ResponseException ( 'PaynetEasy response is empty' ) ; } $ responseFields = array ( ) ; parse_str ( $ response , $ responseFields ) ; return new Response ( $ responseFields ) ; }
Parse PaynetEasy response from string to Response object

@param       string      $response       PaynetEasy response as string

@return      Response                    PaynetEasy response as object

@throws      ResponseException           Error while parsing
Parse PaynetEasy response from string to Response object