RedirectableUrlMatcherInterface
in
RedirectableUrlMatcherInterface knows how to redirect the user.
Tags
Table of Contents
- redirect() : array<string|int, mixed>
- Redirects the user to another URL and returns the parameters for the redirection.
Methods
redirect()
Redirects the user to another URL and returns the parameters for the redirection.
public
redirect(string $path, string $route[, string|null $scheme = null ]) : array<string|int, mixed>
Parameters
- $path : string
-
The path info to redirect to
- $route : string
-
The route name that matched
- $scheme : string|null = null
-
The URL scheme (null to keep the current one)