36 \
Magento\Persistent\Model\SessionFactory $sessionFactory,
39 $this->_sessionFactory = $sessionFactory;
50 $this->
_init(
'persistent_session',
'persistent_id');
64 if (!$object->getLoadExpired()) {
67 [
'customer' => $this->
getTable(
'customer_entity')],
68 'customer.entity_id = ' .
$tableName .
'.customer_id' 71 $object->getExpiredBefore()
98 $sameSession = $this->_sessionFactory->create()->setLoadExpired();
99 $sameSession->loadByCookieKey($key);
100 return !$sameSession->getId();
114 [
'website_id = ?' =>
$websiteId,
'updated_at < ?' => $expiredBefore]
deleteExpired($websiteId, $expiredBefore)
_getLoadSelect($field, $value, $object)
_init($mainTable, $idFieldName)
deleteByCustomerId($customerId)
__construct(\Magento\Framework\Model\ResourceModel\Db\Context $context, \Magento\Persistent\Model\SessionFactory $sessionFactory, $connectionName=null)