function Global / request

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