class
Illuminate
/
Session
/
SessionManager
You are viewing an older version of the documentation. For the latest, please visit master documentation.
SessionManager
Extends
Methods
protected
callCustomCreator ( $driver ) : mixed
Call a custom driver creator.
Parameters
- $driver string
protected
getDatabaseConnection ( ) : Connection
Get the database connection for the database driver.
protected
createCacheBased ( $driver ) : Store
Create an instance of a cache driven driver.
Parameters
- $driver string
protected
createCacheHandler ( $driver ) : CacheBasedSessionHandler
Create the cache based session handler instance.
Parameters
- $driver string
protected
buildSession ( $handler ) : Store
Build the session instance.
Parameters
- $handler SessionHandlerInterface
protected
buildEncryptedSession ( $handler ) : EncryptedStore
Build the encrypted session instance.
Parameters
- $handler SessionHandlerInterface
public
shouldBlock ( ) : bool
Determine if requests for the same session should wait for each to finish before executing.
public
blockDriver ( ) : string|null
Get the name of the cache store / driver that should be used to acquire session locks.
public
getSessionConfig ( ) : array
Get the session configuration.
public
getDefaultDriver ( ) : string
Get the default session driver name.
public
setDefaultDriver ( $name ) : void
Set the default session driver name.
Parameters
- $name string