public function PHPUnit_Framework_Constraint_Composite::count in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/Composite.php \PHPUnit_Framework_Constraint_Composite::count()
Counts the number of constraint elements.
Return value
int
Overrides PHPUnit_Framework_Constraint::count
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Composite.php, line 64
Class
- PHPUnit_Framework_Constraint_Composite
- @since Class available since Release 3.1.0
Code
public function count() {
return count($this->innerConstraint);
}