You are here

public function PHPUnit_Framework_Constraint_Not::count in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/Not.php \PHPUnit_Framework_Constraint_Not::count()

Counts the number of constraint elements.

@since Method available since Release 3.4.0

Return value

int

Overrides PHPUnit_Framework_Constraint::count

File

vendor/phpunit/phpunit/src/Framework/Constraint/Not.php, line 151

Class

PHPUnit_Framework_Constraint_Not
Logical NOT.

Code

public function count() {
  return count($this->constraint);
}