function Global / session

session

session ( ) : mixed|Store |SessionManager

Get / set the specified session value.

Parameters

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