예제 #1
0
파일: Edit.php 프로젝트: nblair/magescotch
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\View\Result\PageFactory $resultPageFactory)
 {
     $this->resultPageFactory = $resultPageFactory;
     parent::__construct($context, $coreRegistry);
 }
예제 #2
0
 /**
  * @param Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param DataPersistorInterface $dataPersistor
  */
 public function __construct(Context $context, \Magento\Framework\Registry $coreRegistry, DataPersistorInterface $dataPersistor)
 {
     $this->dataPersistor = $dataPersistor;
     parent::__construct($context, $coreRegistry);
 }