Methods summary
public
|
|
public
array
|
#
load( string $id )
Load a session from storage by a given ID.
Load a session from storage by a given ID.
If no session is found for the ID, null will be returned.
Parameters
Returns
array
|
public
|
#
save( array $session, array $config, boolean $exists )
Save a given session to storage.
Save a given session to storage.
Parameters
- $session
array $session
- $config
array $config
- $exists
boolean $exists
|
public
|
#
delete( string $id )
Delete a session from storage by a given ID.
Delete a session from storage by a given ID.
Parameters
|
public
|
#
sweep( integer $expiration )
Delete all expired sessions from persistent storage.
Delete all expired sessions from persistent storage.
Parameters
- $expiration
integer $expiration
Implementation of
|
private
Query
|
#
table( )
Get a session database query.
Get a session database query.
Returns
Query
|