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