47 \
Magento\Persistent\Helper\Data $persistentData,
49 \
Magento\Customer\Model\Session $customerSession
53 $this->_customerSession = $customerSession;
54 $this->_persistentData = $persistentData;
65 if (!$this->_persistentSession->isPersistent()) {
76 ($this->_persistentSession->isPersistent() && !$this->_customerSession->isLoggedIn())
77 && !$this->_persistentData->isShoppingCartPersist()
79 && $this->quoteManager->isPersistent()
82 $quote->setIsPersistent(
true);
__construct(\Magento\Persistent\Helper\Session $persistentSession, \Magento\Persistent\Helper\Data $persistentData, \Magento\Persistent\Model\QuoteManager $quoteManager, \Magento\Customer\Model\Session $customerSession)
execute(Observer $observer)