Response::go()
Redirects to the given Urls Urls can be relative or absolute.
Response::go(string $url = '/', int $code = 302, bool $inherit = false): never
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $url | string |
'/'
|
|
| $code | int |
302
|
|
| $inherit | bool |
false
|
Keep the query and params of the current request (since 5.7.0) |
Return type
never