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

createNullDriver ( ) : Store

Create an instance of the "null" session driver.

protected

createArrayDriver ( ) : Store

Create an instance of the "array" session driver.

protected

createCookieDriver ( ) : Store

Create an instance of the "cookie" session driver.

protected

createFileDriver ( ) : Store

Create an instance of the file session driver.

protected

createNativeDriver ( ) : Store

Create an instance of the file session driver.

protected

createDatabaseDriver ( ) : Store

Create an instance of the database session driver.

protected

getDatabaseConnection ( ) : Connection

Get the database connection for the database driver.

protected

createApcDriver ( ) : Store

Create an instance of the APC session driver.

protected

createMemcachedDriver ( ) : Store

Create an instance of the Memcached session driver.

protected

createRedisDriver ( ) : Store

Create an instance of the Redis session driver.

protected

createDynamodbDriver ( ) : Store

Create an instance of the DynamoDB session 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

protected

buildEncryptedSession ( $handler ) : EncryptedStore

Build the encrypted session instance.

Parameters

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