2.0.0 RC3
Pre-release
Pre-release
Note: This is a pre-release, there might be breaking changes in the final stable version.
- Added
Driverclass to collect the various components necessary for session creation. The class has a single method,create()that returns aSessioninstance. - The
Storageinterface has been reduced to only methods to store session data. Locking/unlocking is now handled by an instance ofKeyedMutexgiven toDriver. SessionMiddlewareconstructor now requires an instance ofDriverinstead ofStorage.RedisStorageconstructor no longer needs an instance ofAmp\Redis\Mutex\MutexorIdGenerator.InMemoryStorageconstructor no longer needs an instance ofIdGenerator.