mini\Session\SessionInterface
abstract
interface
Documentation
Session service interface
Provides a per-request session abstraction that works transparently in both traditional PHP-FPM and fiber-based async runtimes.
The session auto-starts on first access and auto-saves at request end. This eliminates the need to call session_start() manually.
Inheritance
Implements:
ArrayAccess
Countable
IteratorAggregate
Traversable
Methods (18)
Get a session value
Set a session value
Check if a session key exists
Remove a session key
Get all session data
Clear all session data
Get the session ID
Regenerate the session ID
Check if the session has been started
Explicitly save and close the session
Destroy the session completely
Get cookie data if one needs to be set on the response
public
abstract
offsetExists()
inherited from ArrayAccess
Documentation missing
public
abstract
offsetGet()
inherited from ArrayAccess
Documentation missing
public
abstract
offsetSet()
inherited from ArrayAccess
Documentation missing
public
abstract
offsetUnset()
inherited from ArrayAccess
Documentation missing
public
abstract
count()
inherited from Countable
Documentation missing
public
abstract
getIterator()
inherited from IteratorAggregate
Documentation missing