Exemplo n.º 1
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Security\Helper\SecurityCookie $securityCookieHelper
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Security\Helper\SecurityCookie $securityCookieHelper)
 {
     parent::__construct($context);
     $this->securityCookieHelper = $securityCookieHelper;
 }
Exemplo n.º 2
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory)
 {
     parent::__construct($context);
     $this->resultPageFactory = $resultPageFactory;
 }
Exemplo n.º 3
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     parent::__construct($context);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }