final class ZtdConfig

Configuration for ZTD behavior.

Methods§

public function unsupportedBehavior(): UnsupportedSqlBehavior
public function behaviorRules(): list<SqlBehaviorRule>
public function getBehaviorFor(string $sql): ?UnsupportedSqlBehavior

Get the behavior for a specific SQL statement.

Checks behavior rules in order; first matching rule determines behavior. Returns null if no rule matches (use default unsupportedBehavior).

Parameters

$sqlstring
Test cases 9
Called from 1
public function resolveUnsupportedBehavior(string $sql): UnsupportedSqlBehavior

Resolve the effective behavior for a SQL statement.

Uses rule-specific behavior if a rule matches, otherwise default behavior.

Parameters

$sqlstring
Test cases 3
Called from 1
Calls 1

Private surface 3§

Implementation details, listed for orientation only.

private UnsupportedSqlBehavior $unsupportedBehavior
private UnknownSchemaBehavior $unknownSchemaBehavior
private list<SqlBehaviorRule> $behaviorRules

Test cases 37§

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

Dedicated tests 13
Other tests reaching this symbol 24

Relations§

Method calls 2
Type declarations 3