function StrictSessionHandler::__construct
File
-
vendor/
symfony/ http-foundation/ Session/ Storage/ Handler/ StrictSessionHandler.php, line 23
Class
- StrictSessionHandler
- Adds basic `SessionUpdateTimestampHandlerInterface` behaviors to another `SessionHandlerInterface`.
Namespace
Symfony\Component\HttpFoundation\Session\Storage\HandlerCode
public function __construct(\SessionHandlerInterface $handler) {
if ($handler instanceof \SessionUpdateTimestampHandlerInterface) {
throw new \LogicException(\sprintf('"%s" is already an instance of "SessionUpdateTimestampHandlerInterface", you cannot wrap it with "%s".', get_debug_type($handler), self::class));
}
}