Core/Curl.php
protected function parseResponse($response)
    {
        $result = [];

        // processing results
        parse_str($response, $result);

        // stripping slashes
        $result = array_map(array($this, 'decode'), $result);

        return $result;
    }
protected function parseResponse($response)
    {
        $result = [];

        // processing results
        parse_str($response, $result);

        // stripping slashes
        $result = array_map(array($this, 'decode'), $result);

        return $result;
    }
protected function parseResponse ( $ response ) { $ result = [ ] ; // processing results parse_str ( $ response , $ result ) ; // stripping slashes $ result = array_map ( array ( $ this , 'decode' ) , $ result ) ; return $ result ; }
Parse curl response and strip it to safe form.

@param string $response curl response.

@return array
Parse curl response and strip it to safe form .