function PackageInterface::getReplaces
Returns a set of links to packages which can alternatively be satisfied by installing this package
Return value
Link[] An array of package links defining replaced packages
1 call to PackageInterface::getReplaces()
- BasePackage::getNames in vendor/
composer/ composer/ src/ Composer/ Package/ BasePackage.php - @inheritDoc
2 methods override PackageInterface::getReplaces()
- AliasPackage::getReplaces in vendor/
composer/ composer/ src/ Composer/ Package/ AliasPackage.php - @inheritDoc
- Package::getReplaces in vendor/
composer/ composer/ src/ Composer/ Package/ Package.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Package/ PackageInterface.php, line 273
Class
- PackageInterface
- Defines the essential information a package has that is used during solving/installation
Namespace
Composer\PackageCode
public function getReplaces() : array;