trait RecursiveConstraintSpecializationTrait

internal  This trait is not covered by the backward compatibility promise
 

Methods

create(array $expected)

No description

static void
validateExpectations(array $expected, int $argument, int $distance = 1)

No description

makeSelector()

Creates instance of ValueSelectorInterface.

makeComparator()

Creates instance of ComparatorInterface.

static ValuesInterface
makeExpectedValues(array $array)

Creates instance of ValuesInterface to be used as expected values.

Details

at line 28
static RecursiveConstraintSpecializationTrait create(array $expected)

No description

Parameters

array $expected

Return Value

RecursiveConstraintSpecializationTrait

Exceptions

InvalidArgumentException

at line 42
abstract static protected void validateExpectations(array $expected, int $argument, int $distance = 1)

No description

Parameters

array $expected
int $argument
int $distance

Return Value

void

Exceptions

InvalidArgumentException

at line 47
abstract static protected ValueSelectorInterface makeSelector()

Creates instance of ValueSelectorInterface.

Return Value

ValueSelectorInterface

at line 52
abstract static protected ComparatorInterface makeComparator()

Creates instance of ComparatorInterface.

Return Value

ComparatorInterface

at line 57
abstract static protected ValuesInterface makeExpectedValues(array $array)

Creates instance of ValuesInterface to be used as expected values.

Parameters

array $array

Return Value

ValuesInterface