Store session() Get the session associated with the request. Return Value Store Exceptions RuntimeException
string|array server(string $key = null, string|array|null $default = null) Retrieve a server variable from the request. Parameters string $key string|array|null $default Return Value string|array
array segments() Get all of the segments for the request path. Return Value array
string|null segment(int $index, string|null $default = null) Get a segment from the URI (1 based index). Parameters int $index string|null $default Return Value string|null
bool secure() Determine if the request is over HTTPS. Return Value bool
Route|object|string route(string|null $param = null) Get the route handling the request. Parameters string|null $param Return Value Route|object|string
string root() Get the root URL for the application. Return Value string
void replace(array $input) Replace the input for the current request. Parameters array $input Return Value void
string|array query(string $key = null, string|array|null $default = null) Retrieve a query string item from the request. Parameters string $key string|array|null $default Return Value string|array
string|null prefers(string|array $contentTypes) Return the most suitable content type from the given array based on content negotiation. Parameters string|array $contentTypes Return Value string|null
Page 253 of 996