DummyComparator
final class DummyComparator implements ComparatorInterface
| internal | This class is not covered by the backward compatibility promise |
Methods
__construct(bool $compare, string $adjective)
No description
bool
compare(mixed $left, mixed $right)
Compares two values.
string
adjective()
Returns an adjective that identifies this comparison operator.
Details
at line 24
__construct(bool $compare, string $adjective)
No description
at line 30
bool
compare(mixed $left, mixed $right)
Compares two values.
at line 35
string
adjective()
Returns an adjective that identifies this comparison operator.
Shall return strings such as "equal to" (equality operator ==),
"identical to" (identity operator ===), etc..