final class ViewDefinitionSet

The views a database has, in an order they can be created in.

A view may select from another, so recreating them in the shadow means having the ones a view depends on before it.

Methods§

public function register(string $viewName, ViewDefinition $definition): void

Register.

Parameters

$viewNamestring
$definitionViewDefinition
Test cases 18
Called from 3

Private surface 1§

Implementation details, listed for orientation only.

private array<string, ViewDefinition> $definitions = []

Test cases 43§

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

Dedicated tests 8
Other tests reaching this symbol 35

Relations§

Instantiated in 6
Method calls 12
Type declarations 18