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

session

session ( ) : mixed|Store |SessionManager

Get / set the specified session value.

Parameters

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