comparison vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.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
22 private $doDestroy; 22 private $doDestroy;
23 23
24 public function __construct(\SessionHandlerInterface $handler) 24 public function __construct(\SessionHandlerInterface $handler)
25 { 25 {
26 if ($handler instanceof \SessionUpdateTimestampHandlerInterface) { 26 if ($handler instanceof \SessionUpdateTimestampHandlerInterface) {
27 throw new \LogicException(sprintf('"%s" is already an instance of "SessionUpdateTimestampHandlerInterface", you cannot wrap it with "%s".', get_class($handler), self::class)); 27 throw new \LogicException(sprintf('"%s" is already an instance of "SessionUpdateTimestampHandlerInterface", you cannot wrap it with "%s".', \get_class($handler), self::class));
28 } 28 }
29 29
30 $this->handler = $handler; 30 $this->handler = $handler;
31 } 31 }
32 32