RedirectResponse
extends Response
in package
Redirects to a different URL
Tags
Table of Contents
Properties
- $redirectURL : mixed
Methods
- __construct() : mixed
- Creates a response that redirects to a url
- getRedirectURL() : string
Properties
$redirectURL
private
mixed
$redirectURL
Methods
__construct()
Creates a response that redirects to a url
public
__construct(string $redirectURL[, S $status = Http::STATUS_SEE_OTHER ][, H $headers = [] ]) : mixed
Parameters
- $redirectURL : string
-
the url to redirect to
- $status : S = Http::STATUS_SEE_OTHER
- $headers : H = []
Tags
getRedirectURL()
public
getRedirectURL() : string
Tags
Return values
string —the url to redirect