\Symfony\Component\HttpFoundation\Session\Storage\HandlerWriteCheckSessionHandler

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

Summary

Methods
Properties
Constants
__construct()
close()
destroy()
gc()
open()
read()
write()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$wrappedSessionHandler
$readSessions
N/A

Properties

$wrappedSessionHandler

$wrappedSessionHandler : 

Type

$readSessions

$readSessions : array

Type

array — sessionId => session

Methods

__construct()

__construct(\SessionHandlerInterface  $wrappedSessionHandler) 

Parameters

\SessionHandlerInterface $wrappedSessionHandler

close()

close() 

{@inheritdoc}

destroy()

destroy(  $sessionId) 

{@inheritdoc}

Parameters

$sessionId

gc()

gc(  $maxlifetime) 

{@inheritdoc}

Parameters

$maxlifetime

open()

open(  $savePath,   $sessionName) 

{@inheritdoc}

Parameters

$savePath
$sessionName

read()

read(  $sessionId) 

{@inheritdoc}

Parameters

$sessionId

write()

write(  $sessionId,   $data) 

{@inheritdoc}

Parameters

$sessionId
$data