classPlanContents
final class PlanContents
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Collects unconditional and alternative relations in declaration order.
Properties§
public list<Relation> $unconditional = []public list<Relation> $relations = []public list<RelationChoice> $choices = []public list<string> $tables = []Methods§
public function __construct(list<Relation|RelationChoice|string> $parts)Parameters
$parts | list<Relation|RelationChoice|string> |
Calls 6
- function-call
is_stringline 40 - method-call TableName::assertTableName() line 41
- new TableName line 41
- method-call PlanContents::append() line 48
- function-call
array_valuesline 55 - function-call
array_uniqueline 55
public function append(Relation $relation): voidRecords a relation and both endpoint tables.
Parameters
$relation | Relation |
Test cases 1
Called from 2
Calls 1
- method-call Relation::tables() line 64
Test cases 49§
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 47
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsCaseSelectionTestcallsChoiceBindingsTestcallsChoiceValueExceptionTestcallsInverseRelationsTestcallsResolvedRowTestcallsRowChoicesTestcallsConnectedTablesTestcallsOverrideSpecsTestcallsRecursiveRelationExceptionTestcallsRelationCountsTestcallsRelationProjectionTestcallsRelationValueExceptionTestcallsRowBindingsTestcallsRowMaterializerTestcallsGenerationRunTestcallsPlanGeneratorTestcallsPlanSchemaExceptionTestcallsPlanSchemaValidatorTestcallsEndpointValidatorTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsChoiceCaseTestcallsChoiceDefinitionExceptionTestcallsChoiceLiteralTestcallsChoiceSyntaxTestcallsChoiceValidationTest::testValidateAllowsExclusiveBindingscallsColumnRefTestcallsInvalidTableNameExceptionTestcallsFixturePlanTestcallsPlanStatementsTestcallsRelationCursorTestcallsRelationReaderTestcallsPlanParserTestcallsPlanPrinterTestcallsPlanStructureExceptionTestcallsPlanSyntaxExceptionTestcallsPlanTablesTestcallsRelationGroupsTestcallsStatementPrinterTestcallsRelationChoiceTestcallsRelationTestcallsPlanValidationTestcallsTableNameTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls