SessionDriverRegistry class

Session driver registry implementation. Manages registration and retrieval of session storage drivers.

Implemented types

Constructors

SessionDriverRegistry()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDefaultDriver() SessionDriver
Gets the current default driver.
override
getDefaultDriverName() String
Gets the name of the current default driver.
override
getDriver(String name) SessionDriver?
Gets a session driver by name.
override
getDriverNames() List<String>
Gets all registered driver names.
override
hasDriver(String name) bool
Checks if a driver is registered.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDriver(String name, SessionDriver driver) → void
Registers a session driver with the given name.
override
removeDriver(String name) → void
Removes a driver from the registry.
override
setDefaultDriver(String name) → void
Sets the default session driver.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited