49 \
Magento\Persistent\Helper\Data $persistentData,
50 \
Magento\Customer\Model\Session $customerSession,
51 \
Magento\Checkout\Model\Session $checkoutSession
54 $this->_customerSession = $customerSession;
55 $this->_checkoutSession = $checkoutSession;
56 $this->_persistentData = $persistentData;
68 if (!(($this->_persistentSession->isPersistent() && !$this->_customerSession->isLoggedIn())
69 && !$this->_persistentData->isShoppingCartPersist()
74 if ($this->_checkoutSession) {
75 $this->_checkoutSession->setLoadInactive();
__construct(\Magento\Persistent\Helper\Session $persistentSession, \Magento\Persistent\Helper\Data $persistentData, \Magento\Customer\Model\Session $customerSession, \Magento\Checkout\Model\Session $checkoutSession)
execute(\Magento\Framework\Event\Observer $observer)