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 20
__construct(bool $compare, string $adjective)

No description

Parameters

bool $compare
string $adjective

at line 22
bool compare(mixed $left, mixed $right)

Compares two values.

Parameters

mixed $left
mixed $right

Return Value

bool

at line 27
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