Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MultiConstraint.php

function MultiConstraint::getUpperBound

Overrides ConstraintInterface::getUpperBound

File

vendor/composer/semver/src/Constraint/MultiConstraint.php, line 199

Class

MultiConstraint
Defines a conjunctive or disjunctive set of constraints.

Namespace

Composer\Semver\Constraint

Code

public function getUpperBound() {
    $this->extractBounds();
    if (null === $this->upperBound) {
        throw new \LogicException('extractBounds should have populated the upperBound property');
    }
    return $this->upperBound;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal