Method |
Description |
|
__construct ( array $options ) |
AdapterInterface constructor. |
|
clean ( ) : void |
|
|
close ( ) : boolean |
The close callback works like a destructor in classes and is executed after the session write callback has been called. |
|
destroy ( string $sessionId ) : boolean |
This callback is executed when a session is destroyed with session_destroy()
or with session_regenerate_id() with the destroy parameter set to TRUE. |
|
gc ( integer $ttl ) : boolean |
The value of lifetime which is passed to this callback can be set in session.gc_maxlifetime. |
|
open ( string $savePath, string $sessionName ) : boolean |
The open callback works like a constructor in classes and is executed when the session is being opened. |
|
read ( $sessionId ) : string |
The read callback must always return a session encoded (serialized) string, or an empty string if there is no data to read. |
|
write ( string $sessionId, string $data ) : void |
The write callback is called when the session needs to be saved and closed. |
|