Redirect
class Redirect (View source)
Methods
static void
only(string $path, int $code = 302, bool $trigger = true)
Redirect and stop application execution
static void
to(string $path, int $code = 302, bool $trigger = true)
Redirects to a valid path within the application
static bool
back(bool $only = false, bool $trigger = true)
Return to redirect to new path
Details
static void
only(string $path, int $code = 302, bool $trigger = true)
Redirect and stop application execution
static void
to(string $path, int $code = 302, bool $trigger = true)
Redirects to a valid path within the application
static bool
back(bool $only = false, bool $trigger = true)
Return to redirect to new path