final class ConstraintReader
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.

Extracts integrity declarations while preserving the complete original constraint.

Properties§

public Identifiers $identifiers

Methods§

public function __construct(public Identifiers $identifiers, ?ValueReader $values = null)

Binds the dependencies used for semantic binding.

Parameters

$identifiersIdentifiers
$values?ValueReader
Calls 2
public function read(Node $node, ?string $column = null): ?TableConstraint
public function references(Node $node): array{list<string>, list<string>}

Parameters

$nodeNode

Returns

array{list<string>, list<string>}
Called from 1
Calls 6

Private surface 1§

Implementation details, listed for orientation only.

private ValueReader $values

Test cases 60§

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 59

Relations§

Instantiated in 2
Method calls 2