FormRequest::query()

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

FormRequest::prefers()

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

FormRequest::pjax()

bool pjax() Determine if the request is the result of an PJAX call. Return Value bool

FormRequest::path()

string path() Get the current path info for the request. Return Value string

FormRequest::only()

array only(array|mixed $keys) Get a subset containing the provided keys with values from the input data. Parameters array|mixed $keys Return Value array

FormRequest::old()

string|array old(string $key = null, string|array|null $default = null) Retrieve an old input item. Parameters string $key string|array|null $default Return Value string|array

FormRequest::offsetUnset()

void offsetUnset(string $offset) Remove the value at the given offset. Parameters string $offset Return Value void

FormRequest::offsetSet()

void offsetSet(string $offset, mixed $value) Set the value at the given offset. Parameters string $offset mixed $value Return Value void

FormRequest::offsetGet()

mixed offsetGet(string $offset) Get the value at the given offset. Parameters string $offset Return Value mixed

FormRequest::offsetExists()

bool offsetExists(string $offset) Determine if the given offset exists. Parameters string $offset Return Value bool