コード例 #1
0
ファイル: Action.php プロジェクト: shabbirvividads/magento2
 /**
  * @param Context $context
  */
 public function __construct(Context $context)
 {
     parent::__construct($context->getRequest(), $context->getResponse());
     $this->_objectManager = $context->getObjectManager();
     $this->_eventManager = $context->getEventManager();
     $this->_url = $context->getUrl();
     $this->_actionFlag = $context->getActionFlag();
     $this->_redirect = $context->getRedirect();
     $this->_view = $context->getView();
     $this->messageManager = $context->getMessageManager();
 }