public function PHPUnit_Framework_Constraint::count

Counts the number of constraint elements.

@since Method available since Release 3.4.0

Return value

integer

6 methods override PHPUnit_Framework_Constraint::count()

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint.php, line 115

Class

PHPUnit_Framework_Constraint
Abstract base class for constraints. which are placed upon any value.

Code

public function count() {
  return 1;
}