public function RedirectableUrlMatcherInterface::redirect in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php \Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface::redirect()
Redirects the user to another URL.
Parameters
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):
Return value
array An array of parameters
2 calls to RedirectableUrlMatcherInterface::redirect()
- RedirectableUrlMatcher::handleRouteRequirements in vendor/
symfony/ routing/ Matcher/ RedirectableUrlMatcher.php - Handles specific route requirements.
- RedirectableUrlMatcher::match in vendor/
symfony/ routing/ Matcher/ RedirectableUrlMatcher.php - Tries to match a URL path with a set of routes.
1 method overrides RedirectableUrlMatcherInterface::redirect()
- RedirectableUrlMatcher::redirect in vendor/
symfony/ routing/ Tests/ Fixtures/ RedirectableUrlMatcher.php - Redirects the user to another URL.
File
- vendor/
symfony/ routing/ Matcher/ RedirectableUrlMatcherInterface.php, line 30
Class
- RedirectableUrlMatcherInterface
- RedirectableUrlMatcherInterface knows how to redirect the user.
Namespace
Symfony\Component\Routing\MatcherCode
public function redirect($path, $route, $scheme = null);