Request::getUserInfo()

string getUserInfo() Gets the user info. Return Value string A user name and, optionally, scheme-specific information about how to gain authorization to access the server

Request::getUser()

string|null getUser() Returns the user. Return Value string|null

Request::getUriForPath()

string getUriForPath(string $path) Generates a normalized URI for the given path. Parameters string $path A path to use instead of the current one Return Value string The normalized URI for the path

Request::getUri()

string getUri() Generates a normalized URI (URL) for the Request. Return Value string A normalized URI (URL) for the Request See also getQueryString()

Request::getUri()

string getUri() Gets the request URI. Return Value string The request URI

Request::getTrustedProxies()

static array getTrustedProxies() Gets the list of trusted proxies. Return Value array An array of trusted proxies

Request::getTrustedHosts()

static array getTrustedHosts() Gets the list of trusted host patterns. Return Value array An array of trusted host patterns

Request::getTrustedHeaderName()

static string getTrustedHeaderName(string $key) Gets the trusted proxy header name. Parameters string $key The header key Return Value string The header name Exceptions InvalidArgumentException

Request::getSession()

SessionInterface|null getSession() Gets the Session. Return Value SessionInterface|null The session

Request::getServer()

array getServer() Gets the request server parameters. Return Value array The request server parameters