Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher::redirect
Redirects the user to another URL.
Signature
public function redirect(string
$path,
[string
$route = null,
[string
$scheme = null]] )
Parameters
$path
— string- The path info to redirect to.
$route
— string- The route that matched
$scheme
— string- The URL scheme (null to keep the current one)
Returns
- array
- An array of parameters