class WriteCheckSessionHandler implements SessionHandlerInterface

Wraps another SessionHandlerInterface to only write the session when it has been modified.

Methods

__construct(SessionHandlerInterface $wrappedSessionHandler)

No description

close()

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

open($savePath, $sessionName)

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

Details

at line line 31
__construct(SessionHandlerInterface $wrappedSessionHandler)

Parameters

SessionHandlerInterface $wrappedSessionHandler

at line line 39
close()

{@inheritdoc}

at line line 47
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 55
gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime

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

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 71
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

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

{@inheritdoc}

Parameters

$sessionId
$data