string|null bearerToken() Get the bearer token from the request headers. Return Value string|null
array attributes() Get custom attributes for validator errors. Return Value array
array allFiles() Get an array of all of the files on the request. Return Value array
array all() Get all of the input and files for the request. Return Value array
bool ajax() Determine if the request is the result of an AJAX call. Return Value bool
bool acceptsJson() Determines whether a request accepts JSON. Return Value bool
bool acceptsHtml() Determines whether a request accepts HTML. Return Value bool
bool accepts(string|array $contentTypes) Determines whether the current requests accepts a given content type. Parameters string|array $contentTypes Return Value bool
FormRequest class FormRequest extends Request implements ValidatesWhenResolved (View source) Traits ValidatesWhenResolvedTrait Provides default implementation of ValidatesWhenResolved contract. Macroable
void __construct(string $selector, mixed $value) Create a new constraint instance. Parameters string $selector mixed $value Return Value void
Page 645 of 996