function lessThanOrEqual

Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.

@since Method available since Release 3.1.0

Parameters

mixed $value:

Return value

PHPUnit_Framework_Constraint_Or

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 2138

Code

function lessThanOrEqual($value) {
  return call_user_func_array('PHPUnit_Framework_Assert::lessThanOrEqual', func_get_args());
}