Class AbstractResponse
Abstract Response
This abstract class implements ResponseInterface and defines a basic set of functions that all Omnipay Requests are intended to include.
Objects of this class or a subclass are usually created in the Request object (subclass of AbstractRequest) as the return parameters from the send() function.
Example -- validating and sending a request:
$myResponse = $myRequest->send(); // now do something with the $myResponse object, test for success, etc.
- Omnipay\Common\Message\AbstractResponse implements Omnipay\Common\Message\ResponseInterface
Abstract
Namespace: Omnipay\Common\Message
See:
Located at Common/Message/AbstractResponse.php
Namespace: Omnipay\Common\Message
See:
Omnipay\Common\Message\ResponseInterface
Located at Common/Message/AbstractResponse.php
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
|
public
null|string
|
|
public
null|string
|
|
public
null|string
|
|
public
string
|
|
public
|
|
public
Symfony\Component\HttpFoundation\RedirectResponse
|
isSuccessful()
|
protected
|
$request
The embodied request object. |
|
protected
mixed
|
$data
The data contained in the response. |