class RedirectableUrlMatcher extends RedirectableUrlMatcher

A URL matcher that redirects the user

Methods

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

Redirects the user to another URL.

Details

at line line 27
array redirect(string $path, string $route, string $scheme = null)

Redirects the user to another URL.

Parameters

string $path The path info to redirect to.
string $route The route that matched
string $scheme The URL scheme (null to keep the current one)

Return Value

array An array of parameters