classInverseRelations
final class InverseRelations
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Visits equivalent inverse choice edges once, then selects per generated row.
Methods§
public function unique(FixturePlan $plan, list<Relation> $relations): list<Relation>Parameters
$plan | FixturePlan | |
$relations | list<Relation> |
Returns
list<Relation>Test cases 1
Called from 2
Calls 2
- method-call InverseRelations::key() line 25
- function-call
in_arrayline 26
public function key(FixturePlan $plan, Relation $relation): ?stringDistinguishes unrelated choices and unconditional edges.
Parameters
$plan | FixturePlan | |
$relation | Relation |
Returns
?stringTest cases 1
Called from 1
Calls 3
- function-call
in_arrayline 41 - method-call Relation::parent() line 42
- method-call Relation::child() line 42
Test cases 23§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 21
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsCaseSelectionTestcallsChoiceBindingsTestcallsChoiceValueExceptionTestcallsResolvedRowTestcallsRowChoicesTestcallsRecursiveRelationExceptionTestcallsRelationValueExceptionTestcallsRowBindingsTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsChoiceCaseTestcallsChoiceDefinitionExceptionTestcallsChoiceLiteralTestcallsChoiceSyntaxTestcallsChoiceValidationTestcallsPlanContentsTestcallsRelationChoiceTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls