1
0
Fork 0

Add docs to loadPackages

pull/8754/head
Jordi Boggiano 2020-04-09 11:50:37 +02:00
parent e34a2a9f45
commit 59c831c2f8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 4 additions and 1 deletions

View File

@ -66,6 +66,9 @@ interface RepositoryInterface extends \Countable
/**
* Returns list of registered packages with the supplied name
*
* - The packages returned are the packages found which match the constraints, acceptable stability and stability flags provided
* - The namesFound returned are names which should be considered as canonically found in this repository, that should not be looked up in any further lower priority repositories
*
* @param ConstraintInterface[] $packageNameMap package names pointing to constraints
* @param array $acceptableStabilities
* @param array $stabilityFlags