예제 #1
0
 /**
  * @param \Magento\Framework\App\Action\Context $context
  */
 public function __construct(\Magento\Framework\App\Action\Context $context)
 {
     $this->_request = $context->getRequest();
     $this->_response = $context->getResponse();
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     $this->resultFactory = $context->getResultFactory();
 }
예제 #2
0
 /**
  * @param Context $context
  */
 public function __construct(Context $context)
 {
     $this->_request = $context->getRequest();
     $this->_response = $context->getResponse();
     $this->resultRedirectFactory = $context->getResultRedirectFactory();
     $this->resultFactory = $context->getResultFactory();
 }