interface Comparator

Methods

int
compare(mixed $a, mixed $b)

Compares two objects

Details

at line 25
int compare(mixed $a, mixed $b)

Compares two objects

Parameters

mixed $a
mixed $b

Return Value

int Return Values: < 0 if the $a is less than $b

0 if the $a is greater than $b 0 if they are equal.