You are here

public function AbstractConstraint::getPrettyString in Zircon Profile 8

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

Return value

string

Overrides ConstraintInterface::getPrettyString

File

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

Class

AbstractConstraint
Base constraint class.

Namespace

Composer\Semver\Constraint

Code

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