Symfony\Component\HttpFoundation\Request::getUriForPath
Generates a normalized URI for the given path.
Signature
public function getUriForPath(string
$path )
Parameters
$path
— string- A path to use instead of the current one
Returns
- string
- The normalized URI for the path