Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.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 |
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; | 12 namespace Symfony\Component\HttpFoundation\Session\Storage; |
13 | 13 |
14 use Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy; | |
15 use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeSessionHandler; | |
16 | |
17 /** | 14 /** |
18 * Allows session to be started by PHP and managed by Symfony. | 15 * Allows session to be started by PHP and managed by Symfony. |
19 * | 16 * |
20 * @author Drak <drak@zikula.org> | 17 * @author Drak <drak@zikula.org> |
21 */ | 18 */ |
22 class PhpBridgeSessionStorage extends NativeSessionStorage | 19 class PhpBridgeSessionStorage extends NativeSessionStorage |
23 { | 20 { |
24 /** | 21 /** |
25 * Constructor. | 22 * @param \SessionHandlerInterface|null $handler |
26 * | 23 * @param MetadataBag $metaBag MetadataBag |
27 * @param AbstractProxy|NativeSessionHandler|\SessionHandlerInterface|null $handler | |
28 * @param MetadataBag $metaBag MetadataBag | |
29 */ | 24 */ |
30 public function __construct($handler = null, MetadataBag $metaBag = null) | 25 public function __construct($handler = null, MetadataBag $metaBag = null) |
31 { | 26 { |
32 $this->setMetadataBag($metaBag); | 27 $this->setMetadataBag($metaBag); |
33 $this->setSaveHandler($handler); | 28 $this->setSaveHandler($handler); |