function Global / redirect
You are viewing an older version of the documentation. For the latest, please visit master documentation.

redirect

redirect ( ) : Redirector |RedirectResponse

Get an instance of the redirector.

Parameters

  • $to string|null
  • $status int
  • $headers array
  • $secure bool|null