/** * @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(); }
/** * @param Context $context */ public function __construct(Context $context) { $this->_request = $context->getRequest(); $this->_response = $context->getResponse(); $this->resultRedirectFactory = $context->getResultRedirectFactory(); $this->resultFactory = $context->getResultFactory(); }