Informations about a redirect.
package |
Default |
---|
__construct(string $url, array $data, string $method = 'post', string $encoding = 'utf-8')
string
Target of the redirect
array
Data to send during the redirect
string
Name of used HTTP method
string
Encoding 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 |
|
---|
string
Name of used HTTP method
\Dotpay\Model\Redirect
setUrl(string $url) : \Dotpay\Model\Redirect
Throws |
|
---|
string
Target 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