You are here

protected function PHPUnit_Framework_Constraint::matches in Zircon Profile 8

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

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

This method can be overridden to implement the evaluation algorithm.

Parameters

mixed $other Value or object to evaluate.:

Return value

bool

1 call to PHPUnit_Framework_Constraint::matches()
PHPUnit_Framework_Constraint::evaluate in vendor/phpunit/phpunit/src/Framework/Constraint.php
Evaluates the constraint for parameter $other
25 methods override PHPUnit_Framework_Constraint::matches()
PHPUnit_Framework_Constraint_ArrayHasKey::matches in vendor/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
PHPUnit_Framework_Constraint_ArraySubset::matches in vendor/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
PHPUnit_Framework_Constraint_Callback::matches in vendor/phpunit/phpunit/src/Framework/Constraint/Callback.php
Evaluates the constraint for parameter $value. Returns true if the constraint is met, false otherwise.
PHPUnit_Framework_Constraint_ClassHasAttribute::matches in vendor/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
PHPUnit_Framework_Constraint_Count::matches in vendor/phpunit/phpunit/src/Framework/Constraint/Count.php
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

... See full list

File

vendor/phpunit/phpunit/src/Framework/Constraint.php, line 69

Class

PHPUnit_Framework_Constraint
Abstract base class for constraints. which are placed upon any value.

Code

protected function matches($other) {
  return false;
}