Definition at line 17 of file License.php.
◆ __construct()
__construct |
( |
LicenseModel |
$license | ) |
|
Constructor
- Parameters
-
Definition at line 31 of file License.php.
◆ indexAction()
Displays license
- Returns
- ViewModel
Definition at line 41 of file License.php.
43 $contents = $this->license->getContents();
44 $view =
new ViewModel;
46 $view->setTemplate(
'error/404');
47 $view->setVariable(
'message',
'Cannot find license file.');
49 $view->setTerminal(
true);
◆ $license
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/setup/src/Magento/Setup/Controller/License.php