Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Subscriber.php
Go to the documentation of this file.
1 <?php
11 
15 use Magento\Newsletter\Model\SubscriberFactory;
16 use Magento\Customer\Model\Url as CustomerUrl;
17 
19 {
25  protected $_customerSession;
26 
33 
37  protected $_storeManager;
38 
42  protected $_customerUrl;
43 
51  public function __construct(
52  Context $context,
53  SubscriberFactory $subscriberFactory,
54  Session $customerSession,
56  CustomerUrl $customerUrl
57  ) {
58  parent::__construct($context);
59  $this->_storeManager = $storeManager;
60  $this->_subscriberFactory = $subscriberFactory;
61  $this->_customerSession = $customerSession;
62  $this->_customerUrl = $customerUrl;
63  }
64 }
$customerUrl
Definition: info.phtml:28
$storeManager
__construct(Context $context, SubscriberFactory $subscriberFactory, Session $customerSession, StoreManagerInterface $storeManager, CustomerUrl $customerUrl)
Definition: Subscriber.php:51