/** * @param \Magento\Backend\Model\Auth $auth * @param \Magento\Backend\Model\UrlInterface $url * @param ResponseInterface $response * @param \Magento\Framework\App\ActionFlag $actionFlag * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\Framework\HTTP\Authentication $httpAuthentication * @param \Magento\Framework\Logger $logger * @param \Magento\Framework\AuthorizationInterface $authorization */ public function __construct(\Magento\Backend\Model\Auth $auth, \Magento\Backend\Model\UrlInterface $url, ResponseInterface $response, \Magento\Framework\App\ActionFlag $actionFlag, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\Framework\HTTP\Authentication $httpAuthentication, \Magento\Framework\Logger $logger, \Magento\Framework\AuthorizationInterface $authorization) { $this->_httpAuthentication = $httpAuthentication; $this->_logger = $logger; $this->_authorization = $authorization; parent::__construct($auth, $url, $response, $actionFlag, $messageManager); }
/** * @param \Magento\Backend\Model\Auth $auth * @param \Magento\Backend\Model\UrlInterface $url * @param ResponseInterface $response * @param \Magento\Framework\App\ActionFlag $actionFlag * @param \Magento\Framework\Message\ManagerInterface $messageManager * @param \Magento\Backend\Model\UrlInterface $backendUrl * @param \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory * @param \Magento\Backend\App\BackendAppList $backendAppList * @param \Magento\Framework\HTTP\Authentication $httpAuthentication * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\AuthorizationInterface $authorization * @param array $aclResources * @SuppressWarnings(PHPMD.ExcessiveParameterList) */ public function __construct( \Magento\Backend\Model\Auth $auth, \Magento\Backend\Model\UrlInterface $url, ResponseInterface $response, \Magento\Framework\App\ActionFlag $actionFlag, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\Backend\Model\UrlInterface $backendUrl, \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory, \Magento\Backend\App\BackendAppList $backendAppList, \Magento\Framework\HTTP\Authentication $httpAuthentication, \Psr\Log\LoggerInterface $logger, \Magento\Framework\AuthorizationInterface $authorization, array $aclResources ) { $this->httpAuthentication = $httpAuthentication; $this->logger = $logger; $this->authorization = $authorization; $this->aclResources = $aclResources; parent::__construct( $auth, $url, $response, $actionFlag, $messageManager, $backendUrl, $resultRedirectFactory, $backendAppList ); }