function Global / request
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

request

request ( ) : mixed|Request |string|array|null

Get an instance of the current request or an input item from the request.

Parameters

  • $key array|string|null
  • $default mixed