WriteCheckSessionHandler
class WriteCheckSessionHandler implements SessionHandlerInterface
Wraps another SessionHandlerInterface to only write the session when it has been modified.
Methods
| __construct(SessionHandlerInterface $wrappedSessionHandler) | ||
| close() {@inheritdoc} | ||
| destroy($sessionId) {@inheritdoc} | ||
| gc($maxlifetime) {@inheritdoc} | ||
| open($savePath, $sessionName) {@inheritdoc} | ||
| read($sessionId) {@inheritdoc} | ||
| write($sessionId, $data) {@inheritdoc} |
Details
__construct(SessionHandlerInterface $wrappedSessionHandler)
Parameters
| SessionHandlerInterface | $wrappedSessionHandler |
close()
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
Parameters
| $sessionId |
gc($maxlifetime)
{@inheritdoc}
Parameters
| $maxlifetime |
open($savePath, $sessionName)
{@inheritdoc}
Parameters
| $savePath | ||
| $sessionName |
read($sessionId)
{@inheritdoc}
Parameters
| $sessionId |
write($sessionId, $data)
{@inheritdoc}
Parameters
| $sessionId | ||
| $data |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.html