You are here

public function PHPUnit_Framework_Constraint_SameSize::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/Constraint/SameSize.php \PHPUnit_Framework_Constraint_SameSize::__construct()

Parameters

int $expected:

Overrides PHPUnit_Framework_Constraint_Count::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/SameSize.php, line 24

Class

PHPUnit_Framework_Constraint_SameSize
@since Class available since Release 3.6.0

Code

public function __construct($expected) {
  parent::__construct($this
    ->getCountOf($expected));
}