Expand description
Port of Composer\DependencyResolver\{Request, PoolBuilder, Pool} and
Composer\Repository\RepositorySet (docs/reference/resolver/). The pool
is the ordered list of packages the solver will see: the order is
Composer’s, index by index, because the literal ids depend on it.
Structs§
- Ordered
Map - String-keyed PHP array: insertion order, in-place rewrite.
- Pool
- Pool
Error - PrePool
Filter - What a
PRE_POOL_CREATElistener does to the loaded packages before the pool exists — symfony/flex’struncatePackagesis the one emulated (flex_filter): the root constraints it consults, the requirement and the index. - Repository
Set Composer\Repository\RepositorySet.- Request
Composer\DependencyResolver\Request. Packages are arena indices; the PHP arrays keyed byspl_object_idbecome ordered lists without duplicates.- Temporary
Constraint - A
--withconstraint, with the text it was written as: an explanation of an unsolvable set quotes that text (getPrettyString), not the compiled interval.
Enums§
- Repository
- A repository of the
RepositorySet, in insertion order. - Update
Mode Request::UPDATE_*.
Functions§
- array_
repository_ load_ packages ArrayRepository::loadPackages(root repository).- package_
name_ regexp BasePackage::packageNameToRegexp.- set_
source_ dist_ references Package::setSourceDistReferences, applied to the base package and its aliases (anAliasPackagedelegates its references to the aliased package).
Type Aliases§
- Filter
List Removed Composer\DependencyResolver\Pool: 1-based ids in construction order. Versions removed by a filter list: name -> (version, entries).