function Constraint::count
Counts the number of constraint elements.
3 methods override Constraint::count()
- BinaryOperator::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Operator/ BinaryOperator.php - Counts the number of constraint elements.
- IsAnything::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsAnything.php - Counts the number of constraint elements.
- UnaryOperator::count in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Operator/ UnaryOperator.php - Counts the number of constraint elements.
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Constraint.php, line 60
Class
- Constraint
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Framework\ConstraintCode
public function count() : int {
return 1;
}