class WriteCheckSessionHandler implements SessionHandlerInterface

deprecated since version 3.4, to be removed in 4.0. Implement `SessionUpdateTimestampHandlerInterface` or extend `AbstractSessionHandler` instead.

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 30
__construct(SessionHandlerInterface $wrappedSessionHandler)

Parameters

SessionHandlerInterface $wrappedSessionHandler

at line 40
close()

{@inheritdoc}

at line 48
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line 56
gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime

at line 64
open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

at line 72
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line 84
write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data