Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Disabled.php
Go to the documentation of this file.
1 <?php
7 declare(strict_types=1);
8 
10 
15 
19 class Disabled extends Action implements HttpGetActionInterface
20 {
24  const ADMIN_RESOURCE = 'Magento_Backend::backup';
25 
29  private $pageFactory;
30 
35  public function __construct(Context $context, PageFactory $pageFactory)
36  {
37  parent::__construct($context);
38  $this->pageFactory = $pageFactory;
39  }
40 
44  public function execute()
45  {
46  return $this->pageFactory->create();
47  }
48 }
__construct(Context $context, PageFactory $pageFactory)
Definition: Disabled.php:35