You are here

public function PHPUnit_Framework_Constraint_LessThan::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/LessThan.php \PHPUnit_Framework_Constraint_LessThan::__construct()

Parameters

numeric $value:

Overrides PHPUnit_Framework_Constraint::__construct

File

vendor/phpunit/phpunit/src/Framework/Constraint/LessThan.php, line 27

Class

PHPUnit_Framework_Constraint_LessThan
Constraint that asserts that the value it is evaluated for is less than a given value.

Code

public function __construct($value) {
  parent::__construct();
  $this->value = $value;
}