16 use Psr\Log\LoggerInterface;
28 private $notificationStorage;
33 private $customerRepository;
59 LoggerInterface $logger
62 $this->notificationStorage = $notificationStorage;
63 $this->state = $state;
79 && $this->notificationStorage->isExists(
86 $this->session->setCustomerData(
$customer);
87 $this->session->setCustomerGroupId(
$customer->getGroupId());
88 $this->session->regenerateId();
91 $this->logger->error($e);
__construct(Session $session, NotificationStorage $notificationStorage, State $state, CustomerRepositoryInterface $customerRepository, LoggerInterface $logger)
beforeDispatch(AbstractAction $subject, RequestInterface $request)
const UPDATE_CUSTOMER_SESSION