FormRequest::has()
  • References/PHP/Laravel/Foundation/Http

bool has(string|array $key) Determine if the request contains a non-empty

2025-01-10 15:47:30
FormRequest::user()
  • References/PHP/Laravel/Foundation/Http

mixed user(string|null $guard = null) Get the user making the request.

2025-01-10 15:47:30
FormRequest::forbiddenResponse()
  • References/PHP/Laravel/Foundation/Http

Response forbiddenResponse() Get the response for a forbidden operation

2025-01-10 15:47:30
FormRequest::allFiles()
  • References/PHP/Laravel/Foundation/Http

array allFiles() Get an array of all of the files on the request.

2025-01-10 15:47:30
FormRequest::segments()
  • References/PHP/Laravel/Foundation/Http

array segments() Get all of the segments for the request path.

2025-01-10 15:47:30
FormRequest::json()
  • References/PHP/Laravel/Foundation/Http

mixed json(string $key = null, mixed $default = null) Get the JSON payload

2025-01-10 15:47:30
FormRequest::replace()
  • References/PHP/Laravel/Foundation/Http

void replace(array $input) Replace the input for the current request.

2025-01-10 15:47:30
FormRequest::ajax()
  • References/PHP/Laravel/Foundation/Http

bool ajax() Determine if the request is the result of an AJAX call.

2025-01-10 15:47:30
FormRequest::wantsJson()
  • References/PHP/Laravel/Foundation/Http

bool wantsJson() Determine if the current request is asking for JSON in

2025-01-10 15:47:30
MaintenanceModeException::__construct()
  • References/PHP/Laravel/Foundation/Http/Exceptions

void __construct(int $time, int $retryAfter = null, string $message = null, Exception $previous

2025-01-10 15:47:30