Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-foundation/Session/Storage/Handler/WriteCheckSessionHandler.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\HttpFoundation\Session\Storage\Handler; | 12 namespace Symfony\Component\HttpFoundation\Session\Storage\Handler; |
13 | 13 |
14 @trigger_error(sprintf('The %s class is deprecated since Symfony 3.4 and will be removed in 4.0. Implement `SessionUpdateTimestampHandlerInterface` or extend `AbstractSessionHandler` instead.', WriteCheckSessionHandler::class), E_USER_DEPRECATED); | |
15 | |
14 /** | 16 /** |
15 * Wraps another SessionHandlerInterface to only write the session when it has been modified. | 17 * Wraps another SessionHandlerInterface to only write the session when it has been modified. |
16 * | 18 * |
17 * @author Adrien Brault <adrien.brault@gmail.com> | 19 * @author Adrien Brault <adrien.brault@gmail.com> |
20 * | |
21 * @deprecated since version 3.4, to be removed in 4.0. Implement `SessionUpdateTimestampHandlerInterface` or extend `AbstractSessionHandler` instead. | |
18 */ | 22 */ |
19 class WriteCheckSessionHandler implements \SessionHandlerInterface | 23 class WriteCheckSessionHandler implements \SessionHandlerInterface |
20 { | 24 { |
21 /** | |
22 * @var \SessionHandlerInterface | |
23 */ | |
24 private $wrappedSessionHandler; | 25 private $wrappedSessionHandler; |
25 | 26 |
26 /** | 27 /** |
27 * @var array sessionId => session | 28 * @var array sessionId => session |
28 */ | 29 */ |