Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
RenewCookieObserver Class Reference
Inheritance diagram for RenewCookieObserver:
ObserverInterface

Public Member Functions

 __construct (\Magento\Persistent\Helper\Data $persistentData, \Magento\Persistent\Helper\Session $persistentSession, \Magento\Customer\Model\Session $customerSession, \Magento\Persistent\Model\SessionFactory $sessionFactory)
 
- Public Member Functions inherited from ObserverInterface
 execute (Observer $observer)
 

Protected Attributes

 $_persistentSession
 
 $_persistentData = null
 
 $_sessionFactory
 
 $_customerSession
 

Detailed Description

Persistent Session Observer

Definition at line 15 of file RenewCookieObserver.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \Magento\Persistent\Helper\Data  $persistentData,
\Magento\Persistent\Helper\Session  $persistentSession,
\Magento\Customer\Model\Session  $customerSession,
\Magento\Persistent\Model\SessionFactory  $sessionFactory 
)

Constructor

Parameters
\Magento\Persistent\Helper\Data$persistentData
\Magento\Persistent\Helper\Session$persistentSession
\Magento\Customer\Model\Session$customerSession
\Magento\Persistent\Model\SessionFactory$sessionFactory

Definition at line 53 of file RenewCookieObserver.php.

58  {
59  $this->_persistentData = $persistentData;
60  $this->_persistentSession = $persistentSession;
61  $this->_customerSession = $customerSession;
62  $this->_sessionFactory = $sessionFactory;
63  }
$persistentSession
Definition: persistent.php:11

Field Documentation

◆ $_customerSession

$_customerSession
protected

Definition at line 43 of file RenewCookieObserver.php.

◆ $_persistentData

$_persistentData = null
protected

Definition at line 29 of file RenewCookieObserver.php.

◆ $_persistentSession

$_persistentSession
protected

Definition at line 22 of file RenewCookieObserver.php.

◆ $_sessionFactory

$_sessionFactory
protected

Definition at line 36 of file RenewCookieObserver.php.


The documentation for this class was generated from the following file: