Definition at line 17 of file License.php.
◆ __construct()
Constructor
- Parameters
-
Definition at line 45 of file License.php.
◆ getContents()
Returns contents of License file.
- Returns
- string|boolean
Definition at line 55 of file License.php.
57 if ($this->dir->isFile(self::LICENSE_FILENAME)) {
58 return $this->dir->readFile(self::LICENSE_FILENAME);
59 }
elseif ($this->dir->isFile(self::DEFAULT_LICENSE_FILENAME)) {
60 return $this->dir->readFile(self::DEFAULT_LICENSE_FILENAME);
elseif(isset( $params[ 'redirect_parent']))
◆ DEFAULT_LICENSE_FILENAME
const DEFAULT_LICENSE_FILENAME = 'LICENSE.txt' |
◆ LICENSE_FILENAME
const LICENSE_FILENAME = 'LICENSE_EE.txt' |
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/setup/src/Magento/Setup/Model/License.php