Standard\Abstracts\Controller::redirect PHP Метод

redirect() защищенный Метод

Redirects the app to a given URL, absolute or relative, remote or local.
protected redirect ( string $url ) : void
$url string
Результат void
    protected function redirect(string $url)
    {
        header('Location: ' . $url);
        die;
    }
Controller