class CacheBasedSessionHandler implements SessionHandlerInterface (View source)

Methods

void
__construct( Repository $cache, int $minutes)

Create a new cache driven handler instance.

open($savePath, $sessionName)

{@inheritdoc}

close()

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($lifetime)

{@inheritdoc}

getCache()

Get the underlying cache repository.

Details

at line line 31
void __construct( Repository $cache, int $minutes)

Create a new cache driven handler instance.

Parameters

Repository $cache
int $minutes

Return Value

void

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

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 48
close()

{@inheritdoc}

at line line 56
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

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

{@inheritdoc}

Parameters

$sessionId
$data

at line line 72
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 80
gc($lifetime)

{@inheritdoc}

Parameters

$lifetime

at line line 90
Repository getCache()

Get the underlying cache repository.

Return Value

Repository