Expand description
Port of Composer\Semver\Intervals (docs/reference/resolver/
semver-Intervals.php): a constraint becomes a list of numeric intervals
[bound, bound] plus a set of branches (dev-*) that are either included
or excluded; isSubsetOf, haveIntersections and compactConstraint
derive from it. PoolBuilder uses it to know whether an already loaded
package covers a new constraint, and to merge constraints.
Structs§
Functions§
- compact_
constraint Intervals::compactConstraint($constraint).- from_
zero - generate
Intervals::get/generateIntervals.- have_
intersections Intervals::haveIntersections($a, $b).- is_
subset_ of Intervals::isSubsetOf($candidate, $constraint).- until_
positive_ infinity