trait HasMultipleComparators (View source)

Traits

Methods

__construct(callable|bool ...$comparators)

No description

make(callable|bool ...$comparators)

No description

makeFromArray(array $comparators)

No description

resolveComparator(mixed $comparator)

No description

array
resolveComparators(array $comparators)

No description

with(callable|bool ...$comparators)

No description

Details

__construct(callable|bool ...$comparators)

No description

Parameters

callable|bool ...$comparators

A list of comparators to use

static HasMultipleComparators make(callable|bool ...$comparators)

No description

Parameters

callable|bool ...$comparators

A list of comparators to use

Return Value

HasMultipleComparators

static HasMultipleComparators makeFromArray(array $comparators)

No description

Parameters

array $comparators

A list of comparators to use

Return Value

HasMultipleComparators

protected ComparatorInterface resolveComparator(mixed $comparator)

No description

Parameters

mixed $comparator

Return Value

ComparatorInterface

protected array resolveComparators(array $comparators)

No description

Parameters

array $comparators

Return Value

array

HasMultipleComparators with(callable|bool ...$comparators)

No description

Parameters

callable|bool ...$comparators

A list of comparators to add

Return Value

HasMultipleComparators