string
generateUri(Request $request, string $path)
Generates a URI, based on the given path or absolute URL.
Parameters Request $request A Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) Return Value string An absolute URL Exceptions LogicException