예제 #1
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory)
 {
     parent::__construct($context);
     $this->resultRawFactory = $resultRawFactory;
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     $this->resultPageFactory = $resultPageFactory;
     $this->resultRedirectFactory = $resultRedirectFactory;
     parent::__construct($context);
 }