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 has(string $viewName): bool

Reports whether.

Parameters

$viewNamestring

Returns

bool
Test cases 1
public function hasAnyViews(): bool

Reports whether any views.

Returns

bool
Test cases 1

Private surface 1§

Implementation details, listed for orientation only.

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

Test cases 8§

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

Dedicated tests 8