Header::redirect()
Sends a redirect header
Header::redirect(string $url, int $code = 302, bool $send = true): string|void
Parameters
Name | Type | Default | Description |
---|---|---|---|
$url |
string |
– | |
$code |
int |
302 |
|
$send |
bool |
true |
Return type
string
|void