Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
EventSaver Class Reference

Public Member Functions

 __construct (\Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Reports\Model\EventFactory $event, \Magento\Customer\Model\Session $customerSession, \Magento\Customer\Model\Visitor $customerVisitor)
 

Protected Attributes

 $_storeManager
 
 $_eventFactory
 
 $_customerSession
 
 $_customerVisitor
 

Detailed Description

Reports Event observer model

Definition at line 11 of file EventSaver.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \Magento\Store\Model\StoreManagerInterface  $storeManager,
\Magento\Reports\Model\EventFactory  $event,
\Magento\Customer\Model\Session  $customerSession,
\Magento\Customer\Model\Visitor  $customerVisitor 
)
Parameters
\Magento\Store\Model\StoreManagerInterface$storeManager
\Magento\Reports\Model\EventFactory$event
\Magento\Customer\Model\Session$customerSession
\Magento\Customer\Model\Visitor$customerVisitor

Definition at line 39 of file EventSaver.php.

44  {
45  $this->_storeManager = $storeManager;
46  $this->_eventFactory = $event;
47  $this->_customerSession = $customerSession;
48  $this->_customerVisitor = $customerVisitor;
49  }
$storeManager

Field Documentation

◆ $_customerSession

$_customerSession
protected

Definition at line 26 of file EventSaver.php.

◆ $_customerVisitor

$_customerVisitor
protected

Definition at line 31 of file EventSaver.php.

◆ $_eventFactory

$_eventFactory
protected

Definition at line 21 of file EventSaver.php.

◆ $_storeManager

$_storeManager
protected

Definition at line 16 of file EventSaver.php.


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