Redirect
Less than 1 minute
Redirect
Properties
url
private URL $urlparams
private array $paramsMethods
__construct
public __construct(URL $url): voidParameters
| Parameter | Type | Description |
|---|---|---|
$url | URL |
with
Sets the parameters for the redirect response.
public with(array $params): selfParameters
| Parameter | Type | Description |
|---|---|---|
$params | array |
getContent
Generates the response content for the redirect.
public getContent(): stringBuilds a query string from the parameters, sets the 'Location' header with the constructed URL and query string, and returns an empty string as the response body.
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000