class HttpUtils
Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs.
Methods
__construct(UrlGeneratorInterface $urlGenerator = null, UrlMatcherInterface|RequestMatcherInterface $urlMatcher = null) Constructor.
RedirectResponse createRedirectResponse(Request $request, string $path, int $status = 302) Creates a redirect Response.
Request createRequest(Request $request, string $path) Creates a Request.
bool checkRequestPath(Request $request