Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Theme.php
Go to the documentation of this file.
1 <?php
11 
12 abstract class Theme extends \Magento\Backend\App\Action
13 {
19  const ADMIN_RESOURCE = 'Magento_Theme::theme';
20 
26  protected $_coreRegistry = null;
27 
31  protected $_fileFactory;
32 
36  protected $_assetRepo;
37 
41  protected $_appFileSystem;
42 
50  public function __construct(
51  \Magento\Backend\App\Action\Context $context,
52  \Magento\Framework\Registry $coreRegistry,
53  \Magento\Framework\App\Response\Http\FileFactory $fileFactory,
54  \Magento\Framework\View\Asset\Repository $assetRepo,
55  \Magento\Framework\Filesystem $appFileSystem
56  ) {
57  $this->_coreRegistry = $coreRegistry;
58  $this->_fileFactory = $fileFactory;
59  $this->_assetRepo = $assetRepo;
60  $this->_appFileSystem = $appFileSystem;
61  parent::__construct($context);
62  }
63 }
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Framework\App\Response\Http\FileFactory $fileFactory, \Magento\Framework\View\Asset\Repository $assetRepo, \Magento\Framework\Filesystem $appFileSystem)
Definition: Theme.php:50