/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param CustomerAccountServiceInterface $customerAccountService * @param CustomerAddressServiceInterface $addressService * @param \Magento\Review\Model\Resource\Review\Product\CollectionFactory $collectionFactory * @param \Magento\Customer\Helper\Session\CurrentCustomer $currentCustomer * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, CustomerAccountServiceInterface $customerAccountService, CustomerAddressServiceInterface $addressService, \Magento\Review\Model\Resource\Review\Product\CollectionFactory $collectionFactory, \Magento\Customer\Helper\Session\CurrentCustomer $currentCustomer, array $data = array()) { $this->_collectionFactory = $collectionFactory; parent::__construct($context, $customerSession, $subscriberFactory, $customerAccountService, $addressService, $data); $this->_isScopePrivate = true; $this->currentCustomer = $currentCustomer; }
/** * Constructor * * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param CustomerAccountServiceInterface $customerAccountService * @param CustomerAddressServiceInterface $addressService * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, CustomerAccountServiceInterface $customerAccountService, CustomerAddressServiceInterface $addressService, array $data = array()) { parent::__construct($context, $customerSession, $subscriberFactory, $customerAccountService, $addressService, $data); $this->_isScopePrivate = true; }
public function __construct(\Dotdigitalgroup\Email\Helper\Data $data, \Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, \Magento\Customer\Api\CustomerRepositoryInterface $customerRepository, \Magento\Customer\Api\AccountManagementInterface $customerAccountManagement, array $data = []) { $this->_helper = $data; parent::__construct($context, $customerSession, $subscriberFactory, $customerRepository, $customerAccountManagement); }
/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param CustomerRepositoryInterface $customerRepository * @param AccountManagementInterface $customerAccountManagement * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, CustomerRepositoryInterface $customerRepository, AccountManagementInterface $customerAccountManagement, array $data = []) { parent::__construct($context, $customerSession, $subscriberFactory, $customerRepository, $customerAccountManagement, $data); $this->_isScopePrivate = true; }
/** * @param \Magento\Framework\View\Element\Template\Context $context * @param \Magento\Customer\Model\Session $customerSession * @param \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory * @param CustomerRepositoryInterface $customerRepository * @param AccountManagementInterface $customerAccountManagement * @param \Magento\Review\Model\ResourceModel\Review\Product\CollectionFactory $collectionFactory * @param \Magento\Customer\Helper\Session\CurrentCustomer $currentCustomer * @param array $data */ public function __construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, CustomerRepositoryInterface $customerRepository, AccountManagementInterface $customerAccountManagement, \Magento\Review\Model\ResourceModel\Review\Product\CollectionFactory $collectionFactory, \Magento\Customer\Helper\Session\CurrentCustomer $currentCustomer, array $data = []) { $this->_collectionFactory = $collectionFactory; parent::__construct($context, $customerSession, $subscriberFactory, $customerRepository, $customerAccountManagement, $data); $this->currentCustomer = $currentCustomer; }