Magic method to get a data key from the session.
key The data key to retrieve
key
Returns: The requested value from the session
Magic method to check whether a session data key has been set or not.
key The data key to check
Returns: True if the data key exists in the session, false if not.
Magic method to store a value with the given key in the session data. It does it both in the hashed list cache and on the database for persistence.
key The data key to store
value The value to store
value
Returns: Whether the value could be stored or not.
Magic method to remove the given key from the session.
key The data key to remove
Last updated 1 year ago