RedirectableUrlMatcherInterface

interface RedirectableUrlMatcherInterface

RedirectableUrlMatcherInterface knows how to redirect the user.

Methods

array redirect(string $path, string $route, string|null $scheme = null)

Redirects the user to another URL.

Details

array redirect(string $path, string $route, string|null $scheme = null)

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
doc_Symfony
2016-10-28 06:28:38
Comments
Leave a Comment

Please login to continue.