You are here

public function MultiConstraint::getPrettyString in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/semver/src/Constraint/MultiConstraint.php \Composer\Semver\Constraint\MultiConstraint::getPrettyString()

Return value

string

Overrides ConstraintInterface::getPrettyString

File

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

Class

MultiConstraint
Defines a conjunctive or disjunctive set of constraints.

Namespace

Composer\Semver\Constraint

Code

public function getPrettyString() {
  if ($this->prettyString) {
    return $this->prettyString;
  }
  return $this
    ->__toString();
}