class LegacyDatabaseSessionHandler implements SessionHandlerInterface, ExistenceAwareInterface (View source)

Methods

void
__construct( ConnectionInterface $connection, string $table)

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)

{@inheritdoc}

setExists( bool $value)

Set the existence state for the session.

Details

at line line 41
void __construct( ConnectionInterface $connection, string $table)

Create a new database session handler instance.

Parameters

ConnectionInterface $connection
string $table

Return Value

void

at line line 50
open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 58
close()

{@inheritdoc}

at line line 66
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 80
write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

at line line 98
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 106
gc($lifetime)

{@inheritdoc}

Parameters

$lifetime

at line line 127
SessionHandlerInterface setExists( bool $value)

Set the existence state for the session.

Parameters

bool $value

Return Value

SessionHandlerInterface