abstract class ArrayComparator extends Comparator (View source)

Methods

bool
__invoke(mixed $value)

Compare the input value against the comparator.

bool
check(mixed $value)

Compare the input array against the comparator.

bool
checkArray(array $value)

Compare the array against the comparator.

Details

final bool __invoke(mixed $value)

Compare the input value against the comparator.

Parameters

mixed $value

Return Value

bool

final bool check(mixed $value)

Compare the input array against the comparator.

Parameters

mixed $value

Return Value

bool

abstract protected bool checkArray(array $value)

Compare the array against the comparator.

Parameters

array $value

Return Value

bool