Panel::go()
Redirect to a Panel url
Panel::go(string|null $url = null, int $code = 302, int|false $refresh = false): void
Parameters
| Name | Type | Default |
|---|---|---|
| $url | stringornull |
null
|
| $code | int |
302
|
| $refresh | intorfalse |
false
|
Exceptions
| Type | Description |
|---|---|
Kirby\Panel\Redirect |