s::get($key = false, $default = null)

Gets a session value by key

  • $key (mixed)
    The key to look for. Pass false or null to return the entire session array.
  • $default (mixed)
    Optional default value, which should be returned if no element has been found
  • return (mixed)

Is something missing or incorrect? Edit this page on Github…