RequestContext::setHost()

RequestContext setHost(string $host) Sets the HTTP host. Parameters string $host The HTTP host Return Value RequestContext The current instance, implementing a fluent interface

RequestContext::setBaseUrl()

RequestContext setBaseUrl(string $baseUrl) Sets the base URL. Parameters string $baseUrl The base URL Return Value RequestContext The current instance, implementing a fluent interface

RequestContext::hasParameter()

bool hasParameter(string $name) Checks if a parameter value is set for the given parameter. Parameters string $name A parameter name Return Value bool True if the parameter value is set, false otherwise

RequestContext::getScheme()

string getScheme() Gets the HTTP scheme. Return Value string The HTTP scheme

RequestContext::getQueryString()

string getQueryString() Gets the query string. Return Value string The query string without the "?"

RequestContext::getPathInfo()

string getPathInfo() Gets the path info. Return Value string The path info

RequestContext::getParameters()

array getParameters() Returns the parameters. Return Value array The parameters

RequestContext::getParameter()

mixed getParameter(string $name) Gets a parameter value. Parameters string $name A parameter name Return Value mixed The parameter value or null if nonexistent

RequestContext::getMethod()

string getMethod() Gets the HTTP method. The method is always an uppercased string. Return Value string The HTTP method

RequestContext::getHttpsPort()

int getHttpsPort() Gets the HTTPS port. Return Value int The HTTPS port