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

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

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

bool accepts(string|array $contentTypes) Determines whether the current

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

bool hasFile(string $key) Determine if the uploaded data contains a file

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

static bool matchesType(string $actual, string $type) Determine

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

array except(array|mixed $keys) Get all of the input except for a specified

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

string url() Get the URL (no query string) for the request.

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

string|null segment(int $index, string|null $default = null) Get a segment

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

string|array server(string $key = null, string|array|null $default = null)

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

string|null prefers(string|array $contentTypes) Return the most suitable

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

bool acceptsJson() Determines whether a request accepts JSON.

2025-01-10 15:47:30