bool hasPreviousSession() Whether the request contains a Session which was started in one of the previous requests. Return Value bool
string|null getUser() Returns the user. Return Value string|null
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
static array getTrustedProxies() Gets the list of trusted proxies. Return Value array An array of trusted proxies
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
static array getTrustedHosts() Gets the list of trusted host patterns. Return Value array An array of trusted host patterns
string getUri() Gets the request URI. Return Value string The request URI
string getUri() Generates a normalized URI (URL) for the Request. Return Value string A normalized URI (URL) for the Request See also getQueryString()
array getServer() Gets the request server parameters. Return Value array The request server parameters
SessionInterface|null getSession() Gets the Session. Return Value SessionInterface|null The session
Page 178 of 787