final class PlanSchemaValidator

Checks a plan against the tables it names, before anything is generated.

Without this a mistyped column is not an error but a quiet change of meaning: the relation stops linking, and the child's foreign key is filled with a generated value instead of its parent's key. The fixtures look plausible and the test fails, or passes, for reasons that have nothing to do with what it was written to check.

Methods§

public function __construct(private SchemaResolverInterface $schemas)

Initializes the collaborators and declared state for this object.

Parameters

Private surface 1§

Implementation details, listed for orientation only.

private SchemaResolverInterface $schemas

Test cases 11§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 6
Other tests reaching this symbol 5

Relations§

Instantiated in 1
Method calls 1