You are here

public function AbstractConstraint::getPrettyString in Automatic Updates 7

Return value

string

Overrides ConstraintInterface::getPrettyString

File

vendor/composer/semver/src/Constraint/AbstractConstraint.php, line 51

Class

AbstractConstraint
Base constraint class.

Namespace

Composer\Semver\Constraint

Code

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