abstract class ComparatorAlias extends Comparator (View source)

Methods

__construct(ComparatorInterface $comparator)

No description

bool
__invoke(mixed $value)

Compare the input value against the comparator.

bool
check(mixed $value)

Compare the input value against the comparator.

Details

__construct(ComparatorInterface $comparator)

No description

Parameters

ComparatorInterface $comparator

final bool __invoke(mixed $value)

Compare the input value against the comparator.

Parameters

mixed $value

Return Value

bool

bool check(mixed $value)

Compare the input value against the comparator.

Parameters

mixed $value

Return Value

bool