|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (MagentoComposerApplicationFactory $composerAppFactory, ComposerInformation $composerInfo) | |
| getPackageVersions () | |
| getAllowedEnterpriseVersions ($currentCE) | |
| getSystemPackageVersions ($systemPackageInfo) | |
| sortVersions ($enterpriseVersions) | |
Data Fields | |
| const | EDITION_COMMUNITY = 'magento/product-community-edition' |
| const | EDITION_ENTERPRISE = 'magento/product-enterprise-edition' |
Class SystemPackage returns system package and available for update versions
Definition at line 17 of file SystemPackage.php.
| __construct | ( | MagentoComposerApplicationFactory | $composerAppFactory, |
| ComposerInformation | $composerInfo | ||
| ) |
Constructor
| MagentoComposerApplicationFactory | $composerAppFactory | |
| ComposerInformation | $composerInfo |
Definition at line 44 of file SystemPackage.php.
| getAllowedEnterpriseVersions | ( | $currentCE | ) |
Retrieve allowed EE versions
| string | $currentCE |
Definition at line 102 of file SystemPackage.php.
| getPackageVersions | ( | ) |
Returns system package and available versions
Definition at line 59 of file SystemPackage.php.
| getSystemPackageVersions | ( | $systemPackageInfo | ) |
Retrieve package versions
| array | $systemPackageInfo |
Definition at line 131 of file SystemPackage.php.
| sortVersions | ( | $enterpriseVersions | ) |
| array | $enterpriseVersions |
Definition at line 193 of file SystemPackage.php.
| const EDITION_COMMUNITY = 'magento/product-community-edition' |
Definition at line 34 of file SystemPackage.php.
| const EDITION_ENTERPRISE = 'magento/product-enterprise-edition' |
Definition at line 36 of file SystemPackage.php.