ComparatorInterface
interface ComparatorInterface
| internal | This interface is not covered by the backward compatibility promise |
Methods
bool
compare(mixed $left, mixed $right)
Compares two values.
string
adjective()
Returns an adjective that identifies this comparison operator.
Details
at line 23
bool
compare(mixed $left, mixed $right)
Compares two values.
at line 31
string
adjective()
Returns an adjective that identifies this comparison operator.
Shall return strings such as "equal to" (equality operator ==),
"identical to" (identity operator ===), etc..