Redirect
in package
Redirect class.
Tags
Table of Contents
Methods
- back() : never
- Attempt to redirect the user to the previous page.
- to() : never
- Redirect the user to the specified location.
Methods
back()
Attempt to redirect the user to the previous page.
public
static back() : never
Return values
neverto()
Redirect the user to the specified location.
public
static to(string $location) : never
Parameters
- $location : string
-
Path or URL to redirect to