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 26
bool compare(mixed $left, mixed $right)

Compares two values.

Parameters

mixed $left
mixed $right

Return Value

bool

at line 34
string adjective()

Returns an adjective that identifies this comparison operator.

Shall return strings such as "equal to" (equality operator ==), "identical to" (identity operator ===), etc..

Return Value

string