Copied!

Defines a conjunctive or disjunctive set of constraints.

CloneableInstantiable
Methods
public __construct(array $constraints, $conjunctive = true)
 
public __toString() : string
 
    public compile( $otherOperator)
     
      public static create(array $constraints, $conjunctive = true)
       

      Tries to optimize the constraints as much as possible, meaning
      reducing/collapsing congruent constraints etc.

      Does not necessarily return a MultiConstraint instance if
      things can be reduced to a simple constraint

      public getConstraints()
      public getLowerBound()
       
        public getPrettyString()
         
          public getUpperBound()
           
            public isConjunctive()
            public isDisjunctive()
            public matches(Composer\Semver\Constraint\ConstraintInterface $provider)
            public setPrettyString( $prettyString)
             
              Properties
              protected $conjunctive
              protected $constraints
               
              protected $lowerBound
              protected $prettyString
              protected $string
              protected $upperBound
              Methods
              private extractBounds()
              private static optimizeConstraints(array $constraints, $conjunctive)
               
              Methods
              public static create(array $constraints, $conjunctive = true)
               

              Tries to optimize the constraints as much as possible, meaning
              reducing/collapsing congruent constraints etc.

              Does not necessarily return a MultiConstraint instance if
              things can be reduced to a simple constraint

              private static optimizeConstraints(array $constraints, $conjunctive)
               
              © 2023 Bruce Wells
              Search Namespaces \ Classes
              Configuration