Обработчик сессии WriteCheckSessionHandler
класс WriteCheckSessionHandler реализует SessionHandlerInterface
Оборачивает другой SessionHandlerInterface, чтобы записывать сессию только при ее изменении.
Методы
| __construct(SessionHandlerInterface $wrappedSessionHandler) | ||
| close() {@inheritdoc} | ||
| destroy($sessionId) {@inheritdoc} | ||
| gc($maxlifetime) {@inheritdoc} | ||
| open($savePath, $sessionName) {@inheritdoc} | ||
| read($sessionId) {@inheritdoc} | ||
| write($sessionId, $data) {@inheritdoc} |
Подробности
__construct(SessionHandlerInterface $wrappedSessionHandler)
Параметры
| SessionHandlerInterface | $wrappedSessionHandler |
close()
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
Параметры
| $sessionId |
gc($maxlifetime)
{@inheritdoc}
Параметры
| $maxlifetime |
open($savePath, $sessionName)
{@inheritdoc}
Параметры
| $savePath | ||
| $sessionName |
read($sessionId)
{@inheritdoc}
Параметры
| $sessionId |
write($sessionId, $data)
{@inheritdoc}
Параметры
| $sessionId | ||
| $data |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.html