classChoiceValidation
final class ChoiceValidation
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Allows overlapping bindings only between mutually exclusive cases.
Methods§
public function validate(PlanContents $contents): voidParameters
$contents | PlanContents |
Test cases 1
Called from 1
Calls 3
- function-call
in_arrayline 26 - new ChoiceDefinitionException line 27
- method-call ChoiceValidation::validateChoice() line 30
public function validateChoice(RelationChoice $choice, list<Relation> $earlier): voidParameters
$choice | RelationChoice | |
$earlier | list<Relation> |
Called from 1
Calls 6
- new ChoiceDefinitionException line 42
- function-call
in_arrayline 46 - method-call RelationChoice::branches() line 51
- method-call PlanValidation::rejectColumnsBoundTwice() line 52
- new PlanValidation line 52
- method-call ChoiceValidation::validateRelation() line 54
public function validateRelation(
RelationChoice $choice,
Relation $relation,
list<Relation> $earlier,
): voidParameters
$choice | RelationChoice | |
$relation | Relation | |
$earlier | list<Relation> |
Test cases 1
Called from 1
Calls 5
- function-call
in_arrayline 65 - method-call Relation::tables() line 65
- new ChoiceDefinitionException line 66
- method-call Relation::child() line 69
- function-call
array_intersectline 69
Test cases 50§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 47
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsCaseSelectionTestcallsChoiceBindingsTestcallsChoiceValueExceptionTestcallsInverseRelationsTestcallsResolvedRowTestcallsRowChoicesTestcallsConnectedTablesTestcallsOverrideSpecsTestcallsRecursiveRelationExceptionTestcallsRelationCountsTestcallsRelationProjectionTestcallsRelationValueExceptionTestcallsRowBindingsTestcallsRowMaterializerTestcallsGenerationRunTestcallsPlanGeneratorTestcallsPlanSchemaExceptionTestcallsPlanSchemaValidatorTestcallsEndpointValidatorTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsChoiceCaseTestcallsChoiceDefinitionExceptionTestcallsChoiceLiteralTestcallsChoiceSyntaxTestcallsPlanContentsTestcallsColumnRefTestcallsInvalidTableNameExceptionTestcallsFixturePlanTestcallsPlanStatementsTestcallsRelationCursorTestcallsRelationReaderTestcallsPlanParserTestcallsPlanPrinterTestcallsPlanStructureExceptionTestcallsPlanSyntaxExceptionTestcallsPlanTablesTestcallsRelationGroupsTestcallsStatementPrinterTestcallsRelationChoiceTestcallsRelationTestcallsPlanValidationTestcallsTableNameTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls