|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (\Magento\Framework\Composer\ComposerInformation $composerInformation, \Magento\Setup\Model\DateTime\TimeZoneProvider $timeZoneProvider, \Magento\Setup\Model\PackagesAuth $packagesAuth, \Magento\Framework\Filesystem $filesystem, \Magento\Setup\Model\ObjectManagerProvider $objectManagerProvider, \Magento\Setup\Model\Grid\TypeMapper $typeMapper) | |
| syncPackagesData () | |
| getInstalledPackages () | |
| getPackagesForUpdate () | |
| addPackageExtraInfo (array $package) | |
| getPackagesForInstall () | |
| getMetaPackagesMap () | |
Data Fields | |
| const | COMPOSER_SHOW = 'show' |
| const | PARAM_COMMAND = 'command' |
| const | PARAM_PACKAGE = 'package' |
| const | PARAM_AVAILABLE = '--available' |
Protected Member Functions | |
| isNewUserPackage ($package, $packageNames) | |
| unsetDevVersions ($package) | |
Protected Attributes | |
| $urlPrefix = 'https://' | |
Class PackagesData returns system packages and available for update versions @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 12 of file PackagesData.php.
| __construct | ( | \Magento\Framework\Composer\ComposerInformation | $composerInformation, |
| \Magento\Setup\Model\DateTime\TimeZoneProvider | $timeZoneProvider, | ||
| \Magento\Setup\Model\PackagesAuth | $packagesAuth, | ||
| \Magento\Framework\Filesystem | $filesystem, | ||
| \Magento\Setup\Model\ObjectManagerProvider | $objectManagerProvider, | ||
| \Magento\Setup\Model\Grid\TypeMapper | $typeMapper | ||
| ) |
PackagesData constructor.
| \Magento\Framework\Composer\ComposerInformation | $composerInformation |
Definition at line 73 of file PackagesData.php.
| addPackageExtraInfo | ( | array | $package | ) |
Add package extra info
| array | $package |
Definition at line 321 of file PackagesData.php.
| getInstalledPackages | ( | ) |
Get list of manually installed package
Definition at line 177 of file PackagesData.php.
| getMetaPackagesMap | ( | ) |
Get all metapackages
Definition at line 451 of file PackagesData.php.
| getPackagesForInstall | ( | ) |
Sync list of available for install versions for packages
Definition at line 378 of file PackagesData.php.
| getPackagesForUpdate | ( | ) |
Get packages that need updates
Definition at line 196 of file PackagesData.php.
|
protected |
Check if this new user package
| array | $package | |
| array | $packageNames |
Definition at line 342 of file PackagesData.php.
| syncPackagesData | ( | ) |
Definition at line 93 of file PackagesData.php.
|
protected |
Unset dev versions
| array | $package |
Definition at line 360 of file PackagesData.php.
|
protected |
Definition at line 31 of file PackagesData.php.
| const COMPOSER_SHOW = 'show' |
#+ Composer command params and options
Definition at line 17 of file PackagesData.php.
| const PARAM_AVAILABLE = '--available' |
Definition at line 20 of file PackagesData.php.
| const PARAM_COMMAND = 'command' |
Definition at line 18 of file PackagesData.php.
| const PARAM_PACKAGE = 'package' |
Definition at line 19 of file PackagesData.php.