You are here

public function Constraint::getPrettyString in Automatic Updates 7

Return value

string

Overrides ConstraintInterface::getPrettyString

File

vendor/composer/semver/src/Constraint/Constraint.php, line 92

Class

Constraint
Defines a constraint.

Namespace

Composer\Semver\Constraint

Code

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