SessionManager
class SessionManager extends Manager mixin Store (View source)
Properties
protected Container | $container | The container instance. |
from Manager |
protected Repository | $config | The configuration repository instance. |
from Manager |
protected array | $customCreators | The registered custom driver creators. |
from Manager |
protected array | $drivers | The array of created "drivers". |
from Manager |
Methods
Get the default session driver name.
Call a custom driver creator.
Dynamically call the default driver instance.
Create an instance of the "null" session driver.
Create an instance of the "array" session driver.
Create an instance of the "cookie" session driver.
Create an instance of the file session driver.
Create an instance of the file session driver.
Create an instance of the database session driver.
Get the database connection for the database driver.
Create an instance of the APC session driver.
Create an instance of the Memcached session driver.
Create an instance of the Redis session driver.
Create an instance of the DynamoDB session driver.
Create an instance of a cache driven driver.
Create the cache based session handler instance.
Determine if requests for the same session should wait for each to finish before executing.
Get the name of the cache store / driver that should be used to acquire session locks.
Get the maximum number of seconds the session lock should be held for.
Get the maximum number of seconds to wait while attempting to acquire a route block session lock.
Get the session configuration.
Set the default session driver name.
Details
protected CacheBasedSessionHandler
createCacheHandler(string $driver)
Create the cache based session handler instance.
protected EncryptedStore
buildEncryptedSession(SessionHandlerInterface $handler)
Build the encrypted session instance.
bool
shouldBlock()
Determine if requests for the same session should wait for each to finish before executing.
string|null
blockDriver()
Get the name of the cache store / driver that should be used to acquire session locks.
int
defaultRouteBlockLockSeconds()
Get the maximum number of seconds the session lock should be held for.