public function PHPUnit_Framework_Constraint::count in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint.php \PHPUnit_Framework_Constraint::count()
Counts the number of constraint elements.
@since Method available since Release 3.4.0
Return value
int
6 methods override PHPUnit_Framework_Constraint::count()
- PHPUnit_Framework_Constraint_And::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ And.php - Counts the number of constraint elements.
- PHPUnit_Framework_Constraint_Composite::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Composite.php - Counts the number of constraint elements.
- PHPUnit_Framework_Constraint_IsAnything::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsAnything.php - Counts the number of constraint elements.
- PHPUnit_Framework_Constraint_Not::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Not.php - Counts the number of constraint elements.
- PHPUnit_Framework_Constraint_Or::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Or.php - Counts the number of constraint elements.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint.php, line 80
Class
- PHPUnit_Framework_Constraint
- Abstract base class for constraints. which are placed upon any value.
Code
public function count() {
return 1;
}