Informations about a redirect.
| package |
Default |
|---|
__construct(string $url, array $data, string $method = 'post', string $encoding = 'utf-8')
stringTarget of the redirect
arrayData to send during the redirect
stringName of used HTTP method
stringEncoding type
getData() : array
array
getEncoding() : string
string
getMethod() : string
string
getUrl() : string
string
setData(array $data) : \Dotpay\Model\Redirect
setEncoding(string $encoding) : \Dotpay\Model\Redirect
setMethod(string $method) : \Dotpay\Model\Redirect
| Throws |
|
|---|
stringName of used HTTP method
\Dotpay\Model\Redirect
setUrl(string $url) : \Dotpay\Model\Redirect
| Throws |
|
|---|
stringTarget of the redirect
\Dotpay\Model\Redirect
ALLOWED_METHODS
url : string
| var |
Target of the redirect |
|---|
string
data : array
| var |
Data to send during the redirect. Keys of the array are names of values |
|---|
array
method : string
| var |
Name of used HTTP method |
|---|
string
encoding : string
| var |
Encoding type |
|---|
string