function PackageInterface::getSourceMirrors
Returns the source mirrors of this package
Return value
?list<array{url: non-empty-string, preferred: bool}>
2 methods override PackageInterface::getSourceMirrors()
- AliasPackage::getSourceMirrors in vendor/
composer/ composer/ src/ Composer/ Package/ AliasPackage.php - Returns the source mirrors of this package
- Package::getSourceMirrors in vendor/
composer/ composer/ src/ Composer/ Package/ Package.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Package/ PackageInterface.php, line 146
Class
- PackageInterface
- Defines the essential information a package has that is used during solving/installation
Namespace
Composer\PackageCode
public function getSourceMirrors() : ?array;