/** * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\SalesRule\Model\Coupon $coupon * @param \Magento\SalesRule\Model\Rule $rule * @param \Ebizmarts\Mandrill\Model\Mailsent $mailsent * @param \Magento\Framework\Stdlib\DateTime\DateTime $dateTime * @param \Ebizmarts\Mandrill\Model\Unsubscribe $unsubscribe */ public function __construct(\Magento\Framework\App\Helper\Context $context, \Magento\SalesRule\Model\Coupon $coupon, \Magento\SalesRule\Model\Rule $rule, \Ebizmarts\Mandrill\Model\Mailsent $mailsent, \Magento\Framework\Stdlib\DateTime\DateTime $dateTime, \Ebizmarts\Mandrill\Model\Unsubscribe $unsubscribe) { $this->_logger = $context->getLogger(); $this->_coupon = $coupon; $this->_rule = $rule; $this->_mailsent = $mailsent; $this->_dateTime = $dateTime; $this->_unsubscribe = $unsubscribe; $this->_subscribed = array(); parent::__construct($context); }
/** * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Payment\Helper\Data $paymentData * @param \Magento\Framework\App\Config\BaseFactory $configFactory * @param array $methodCodes */ public function __construct(\Magento\Framework\App\Helper\Context $context, \Magento\Payment\Helper\Data $paymentData, \Magento\Framework\App\Config\BaseFactory $configFactory, array $methodCodes) { $this->_logger = $context->getLogger(); $pre = __METHOD__ . " : "; $this->_logger->debug($pre . 'bof, methodCodes is : ', $methodCodes); $this->_paymentData = $paymentData; $this->methodCodes = $methodCodes; $this->configFactory = $configFactory; parent::__construct($context); $this->_logger->debug($pre . 'eof'); }
/** * @param \Magento\Framework\App\Helper\Context $context */ public function __construct(\Magento\Framework\App\Helper\Context $context) { $this->_logger = $context->getLogger(); parent::__construct($context); }
/** * @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Framework\Module\ModuleListInterface $moduleList */ public function __construct(\Magento\Framework\App\Helper\Context $context, \Magento\Framework\Module\ModuleListInterface $moduleList) { $this->_logger = $context->getLogger(); $this->_moduleList = $moduleList; parent::__construct($context); }