Symfony\Component\Security\Http\HttpUtils
Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class HttpUtils
{
- // members
- private $urlGenerator;
- private $urlMatcher;
- // methods
- public void __construct()
- public Response createRedirectResponse()
- public Request createRequest()
- public Boolean checkRequestPath()
- public string generateUri()
Members
private
- $urlGenerator
- $urlMatcher
Methods
public
- __construct() — Constructor.
- checkRequestPath() — Checks that a given path matches the Request.
- createRedirectResponse() — Creates a redirect Response.
- createRequest() — Creates a Request.
- generateUri() — Generates a URI, based on the given path or absolute URL.