Class RedirectResponse
Redirect-Response A HTTP header redirect
- Modulework\Modules\Http\Response
-
Modulework\Modules\Http\RedirectResponse
Methods summary
public static
|
#
make( string $url = null, integer $code = 302, array $headers = array(),
Factory for the Response object |
public
|
#
__construct( string $url = null, integer $code = 302, array $headers = array(),
Constructor. |
public
|
|
public
string
|
|
public
|
Methods inherited from Modulework\Modules\Http\Response
__toString()
,
addCookie()
,
addHeader()
,
appendContent()
,
fromException()
,
getCharset()
,
getContent()
,
getDate()
,
getExpires()
,
getProtocolVersion()
,
getStatusCode()
,
isClientError()
,
isEmpty()
,
isForbidden()
,
isInformational()
,
isInvalid()
,
isNotFound()
,
isOk()
,
isRedirect()
,
isServerError()
,
isSuccess()
,
prepare()
,
send()
,
sendContent()
,
sendCookies()
,
sendHeaders()
,
setCharset()
,
setContent()
,
setDate()
,
setExpires()
,
setHeaderWrapper()
,
setProtocolVersion()
,
setStatusCode()
,
validateContent()
Magic methods summary
Properties summary
protected
mixed
|
$url |
Properties inherited from Modulework\Modules\Http\Response
$charset
,
$content
,
$cookies
,
$headerWrapper
,
$headers
,
$protocolVersion
,
$statusCode
,
$statusCodeRegistry
,
$statusText