1 | <?php |
||
16 | class RedirectableUrlMatcher extends BaseMatcher |
||
17 | { |
||
18 | /** |
||
19 | * Redirects the user to another URL. |
||
20 | * |
||
21 | * @param string $path The path info to redirect to. |
||
22 | * @param string $route The route that matched |
||
23 | * @param string $scheme The URL scheme (null to keep the current one) |
||
24 | * |
||
25 | * @return array An array of parameters |
||
26 | */ |
||
27 | public function redirect($path, $route, $scheme = null) |
||
36 | } |
||
37 |