public function PHPUnit_Framework_Constraint_Count::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/Count.php \PHPUnit_Framework_Constraint_Count::__construct()
Parameters
int $expected:
Overrides PHPUnit_Framework_Constraint::__construct
1 call to PHPUnit_Framework_Constraint_Count::__construct()
- PHPUnit_Framework_Constraint_SameSize::__construct in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ SameSize.php
1 method overrides PHPUnit_Framework_Constraint_Count::__construct()
- PHPUnit_Framework_Constraint_SameSize::__construct in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ SameSize.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Count.php, line 24
Class
- PHPUnit_Framework_Constraint_Count
- @since Class available since Release 3.6.0
Code
public function __construct($expected) {
parent::__construct();
$this->expectedCount = $expected;
}