s::remove($key)

Removes a value from the session by key

  • $key (mixed)
    The key to remove by
  • return (array)
    The session array without the value