Skip to content

Session

Everything under Quiote\Session.

ClassDescription
FileSessionFactoryThe default session slot factory: file-backed, zero dependencies, no database required.
FileSessionPersistenceFile-backed SessionPersistenceInterface implementation — the zero-dependency default backend.
NullSessionBagA SessionBagInterface that stores nothing.
ObjectStoreSessionPersistenceA SessionPersistenceInterface storing one object per session id in any ObjectStoreClientInterface.
PdoSessionFactorysession slot factory for PdoSessionPersistence, taking its connection from the application’s own database manager so sessions live alongside everything else rather than needing separate credentials.
PdoSessionPersistenceDefault PDO-backed SessionPersistenceInterface implementation.
QuioteSessionBagSessionBagInterface over the PSR-7-native SessionManager stack.
SessionMutable session handle.
SessionCodecThe shipped session codec: igbinary when it is available and wanted, JSON otherwise, and reads both regardless of which it writes.
SessionManagerOpinionated, PSR-7-based session handling: a cookie carrying a session id, and a pluggable SessionPersistenceInterface backend for the data.
SessionMiddlewareOpt-in PSR-15 middleware wiring SessionManager into the request lifecycle: loads/creates the session before the handler runs and attaches it to the request as an attribute keyed by self::class, then persists + bakes the Set-Cookie header onto the response afterwards.
InterfaceDescription
SessionBagInterfaceThe narrow per-session key/value contract everything that needs session state talks to: the User hierarchy, CSRF token storage, OIDC state, and application code.
SessionCodecInterfaceSerializes a session payload for storage, and reads it back.
SessionFactoryInterfaceBuilds the persistence backend for the session factory slot.
SessionPersistenceInterfaceStorage backend contract for SessionManager.
NamespaceContents
Pdo2 types
Redis2 types