Session
Everything under Quiote\Session.
Classes
Section titled “Classes”| Class | Description |
|---|---|
FileSessionFactory | The default session slot factory: file-backed, zero dependencies, no database required. |
FileSessionPersistence | File-backed SessionPersistenceInterface implementation — the zero-dependency default backend. |
NullSessionBag | A SessionBagInterface that stores nothing. |
ObjectStoreSessionPersistence | A SessionPersistenceInterface storing one object per session id in any ObjectStoreClientInterface. |
PdoSessionFactory | session 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. |
PdoSessionPersistence | Default PDO-backed SessionPersistenceInterface implementation. |
QuioteSessionBag | SessionBagInterface over the PSR-7-native SessionManager stack. |
Session | Mutable session handle. |
SessionCodec | The shipped session codec: igbinary when it is available and wanted, JSON otherwise, and reads both regardless of which it writes. |
SessionManager | Opinionated, PSR-7-based session handling: a cookie carrying a session id, and a pluggable SessionPersistenceInterface backend for the data. |
SessionMiddleware | Opt-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. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
SessionBagInterface | The narrow per-session key/value contract everything that needs session state talks to: the User hierarchy, CSRF token storage, OIDC state, and application code. |
SessionCodecInterface | Serializes a session payload for storage, and reads it back. |
SessionFactoryInterface | Builds the persistence backend for the session factory slot. |
SessionPersistenceInterface | Storage backend contract for SessionManager. |
Nested namespaces
Section titled “Nested namespaces”| Namespace | Contents |
|---|---|
Pdo | 2 types |
Redis | 2 types |