class RequestContext
Holds information about the current request. This class implements a fluent interface.
Methods
__construct(string $baseUrl = '', string $method = 'GET', string $host = 'localhost', string $scheme = 'http', int $httpPort = 80, int $httpsPort = 443, string $path = '/', string $queryString = '') Constructor.
RequestContext fromRequest(Request $request) Updates the RequestContext information based on a HttpFoundation Request.
string getBaseUrl() Gets the base U