DatabaseStore

DatabaseStore class DatabaseStore implements Store (View source) Traits RetrievesMultipleKeys

DatabaseSessionHandler::__construct()

void __construct(ConnectionInterface $connection, string $table, int $minutes, Container $container = null) Create a new database session handler instance. Parameters ConnectionInterface $connection string $table int $minutes Container $container Return Value void

DatabaseSessionHandler::write()

write($sessionId, $data) {@inheritdoc} Parameters $sessionId $data

DatabaseSessionHandler::setExists()

SessionHandlerInterface setExists(bool $value) Set the existence state for the session. Parameters bool $value Return Value SessionHandlerInterface

DatabaseSessionHandler::read()

read($sessionId) {@inheritdoc} Parameters $sessionId

DatabaseSessionHandler::open()

open($savePath, $sessionName) {@inheritdoc} Parameters $savePath $sessionName

DatabaseSessionHandler::gc()

gc($lifetime) {@inheritdoc} Parameters $lifetime

DatabaseSessionHandler::destroy()

destroy($sessionId) {@inheritdoc} Parameters $sessionId

DatabaseSessionHandler::close()

close() {@inheritdoc}

DatabaseSessionHandler

DatabaseSessionHandler class DatabaseSessionHandler implements SessionHandlerInterface, ExistenceAwareInterface (View source) Methods void __construct(ConnectionInterface $connection, string $table, int $minutes, Container $container = null) Create a new database session handler instance. open($savePath, $sessionName) {@inheritdoc} close() {@inheritdoc} read($sessionId) {@inheritdoc} write($sessionId, $data) {@inheritdoc} destroy($sessionId) {@inheritdoc} gc($lifetime) {