Example #1
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory)
 {
     $this->resultLayoutFactory = $resultLayoutFactory;
     parent::__construct($context, $coreRegistry);
 }
Example #2
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory)
 {
     $this->resultJsonFactory = $resultJsonFactory;
     parent::__construct($context, $coreRegistry);
 }
 /**
  * @param Action\Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory
  */
 public function __construct(Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory)
 {
     $this->resultRawFactory = $resultRawFactory;
     parent::__construct($context, $coreRegistry);
 }