40 $this->objectManager = $objectManger;
42 $this->handlers = array_merge(
$handlers, $this->handlers);
57 if (isset($this->handlers[$saveMethod])) {
58 $sessionHandler = $this->handlers[$saveMethod];
61 $model = $this->objectManager->create($sessionHandler,
$params);
62 if (!
$model instanceof \SessionHandlerInterface) {
63 throw new \LogicException($sessionHandler .
' doesn\'t implement \SessionHandlerInterface');
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
__construct(\Magento\Framework\ObjectManagerInterface $objectManger, array $handlers=[])
create($saveMethod, $params=[])