interface RedirectableUrlMatcherInterface
RedirectableUrlMatcherInterface knows how to redirect the user.
array | redirect(string $path, string $route, string|null $scheme = null) Redirects the user to another URL. |
Redirects the user to another URL.
string | $path | The path info to redirect to |
string | $route | The route name that matched |
string|null | $scheme | The URL scheme (null to keep the current one) |
array | An array of parameters |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Matcher/RedirectableUrlMatcherInterface.html