function Global / to_route

to_route

to_route ( ) : RedirectResponse

Create a new redirect response to a named route.

Parameters

  • $route string
  • $parameters mixed
  • $status int
  • $headers array