38 \
Magento\Customer\Model\Session $customerSession,
42 $this->_customerSession = $customerSession;
56 $this->_customerSession->setCustomerId(
null)->setCustomerGroupId(
null);
58 if ($this->_requestHttp->getParam(
'context') !=
'checkout') {
59 $this->quoteManager->expire();
63 $this->quoteManager->setGuest();
__construct(\Magento\Customer\Model\Session $customerSession, \Magento\Framework\App\RequestInterface $request, \Magento\Persistent\Model\QuoteManager $quoteManager)
execute(\Magento\Framework\Event\Observer $observer)