You are here

public function EmptyConstraint::getPrettyString in Zircon Profile 8.0

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

Return value

string

Overrides ConstraintInterface::getPrettyString

File

vendor/composer/semver/src/Constraint/EmptyConstraint.php, line 43

Class

EmptyConstraint
Defines the absence of a constraint.

Namespace

Composer\Semver\Constraint

Code

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