Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-foundation/Session/Storage/Handler/WriteCheckSessionHandler.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
8 * For the full copyright and license information, please view the LICENSE | 8 * For the full copyright and license information, please view the LICENSE |
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 | |
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 | 13 |
16 /** | 14 /** |
17 * Wraps another SessionHandlerInterface to only write the session when it has been modified. | 15 * Wraps another SessionHandlerInterface to only write the session when it has been modified. |
18 * | 16 * |
19 * @author Adrien Brault <adrien.brault@gmail.com> | 17 * @author Adrien Brault <adrien.brault@gmail.com> |
29 */ | 27 */ |
30 private $readSessions; | 28 private $readSessions; |
31 | 29 |
32 public function __construct(\SessionHandlerInterface $wrappedSessionHandler) | 30 public function __construct(\SessionHandlerInterface $wrappedSessionHandler) |
33 { | 31 { |
32 @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.', self::class), E_USER_DEPRECATED); | |
33 | |
34 $this->wrappedSessionHandler = $wrappedSessionHandler; | 34 $this->wrappedSessionHandler = $wrappedSessionHandler; |
35 } | 35 } |
36 | 36 |
37 /** | 37 /** |
38 * {@inheritdoc} | 38 * {@inheritdoc} |