classEndpointValidator
final class EndpointValidator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Checks that relation columns exist in their table schema.
Methods§
public function checkEndpoint(SchemaResolverInterface $schemas, ColumnRef $reference): voidRejects unknown or generated columns in a relation endpoint.
Parameters
$schemas | SchemaResolverInterface | |
$reference | ColumnRef |
Test cases 1
Called from 3
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:40
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:44
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:45
Calls 3
Test cases 7§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 6
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls
Relations§
Instantiated in 3
- new SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:40
- new SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:44
- new SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:45
Method calls 3
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:40
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:44
- method-call SqlFixture\Fixture\PlanSchemaValidator::validate() packages/sql-fixture/src/Fixture/PlanSchemaValidator.php:45