function
Global
/
redirect
redirect
redirect ( ) : Redirector |RedirectResponse
Get an instance of the redirector.
Parameters
- $to string|null
- $status int
- $headers array
- $secure bool|null
Get an instance of the redirector.