You are here

public function PHPUnit_Framework_Constraint_Count::toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/Count.php \PHPUnit_Framework_Constraint_Count::toString()

Return value

string

Overrides PHPUnit_Framework_SelfDescribing::toString

File

vendor/phpunit/phpunit/src/Framework/Constraint/Count.php, line 94

Class

PHPUnit_Framework_Constraint_Count
@since Class available since Release 3.6.0

Code

public function toString() {
  return sprintf('count matches %d', $this->expectedCount);
}