Example #1
0
 /**
  * @param Action\Context $context
  * @param \Magento\Catalog\Helper\Product $productHelper
  * @param \Magento\Framework\Escaper $escaper
  * @param PageFactory $resultPageFactory
  * @param ForwardFactory $resultForwardFactory
  * @param \Magento\Framework\Registry $coreRegistry
  * @param LayoutFactory $resultLayoutFactory
  * @param \Magento\Authorizenet\Helper\Backend\Data $helper
  */
 public function __construct(Action\Context $context, \Magento\Catalog\Helper\Product $productHelper, \Magento\Framework\Escaper $escaper, PageFactory $resultPageFactory, ForwardFactory $resultForwardFactory, \Magento\Framework\Registry $coreRegistry, LayoutFactory $resultLayoutFactory, \Magento\Authorizenet\Helper\Backend\Data $helper)
 {
     $this->_coreRegistry = $coreRegistry;
     $this->resultLayoutFactory = $resultLayoutFactory;
     $this->helper = $helper;
     parent::__construct($context, $productHelper, $escaper, $resultPageFactory, $resultForwardFactory);
 }
Example #2
0
 /**
  * @param Action\Context $context
  * @param \Magento\Catalog\Helper\Product $productHelper
  * @param \Magento\Framework\Escaper $escaper
  * @param PageFactory $resultPageFactory
  * @param ForwardFactory $resultForwardFactory
  * @param RawFactory $resultRawFactory
  */
 public function __construct(
     Action\Context $context,
     \Magento\Catalog\Helper\Product $productHelper,
     \Magento\Framework\Escaper $escaper,
     PageFactory $resultPageFactory,
     ForwardFactory $resultForwardFactory,
     RawFactory $resultRawFactory
 ) {
     $this->resultRawFactory = $resultRawFactory;
     parent::__construct(
         $context,
         $productHelper,
         $escaper,
         $resultPageFactory,
         $resultForwardFactory
     );
 }
Example #3
0
 /**
  * Constructor
  *
  * @param Context $context
  * @param Product $productHelper
  * @param Escaper $escaper
  * @param PageFactory $resultPageFactory
  * @param ForwardFactory $resultForwardFactory
  * @param DataHelper $helper
  */
 public function __construct(Context $context, Product $productHelper, Escaper $escaper, PageFactory $resultPageFactory, ForwardFactory $resultForwardFactory, DataHelper $helper)
 {
     $this->helper = $helper;
     parent::__construct($context, $productHelper, $escaper, $resultPageFactory, $resultForwardFactory);
 }
Example #4
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Catalog\Helper\Product $productHelper
  * @param \Magento\Framework\Registry $coreRegistry
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Catalog\Helper\Product $productHelper, \Magento\Framework\Registry $coreRegistry)
 {
     $this->_coreRegistry = $coreRegistry;
     parent::__construct($context, $productHelper);
 }