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

Grammar-owned layout roles supplied by a dialect implementation.

Properties§

public array<string, list<string>> $roles
public list<string> $headers

Methods§

public function __construct(
    public array<string, list<string>> $roles,
    public list<string> $headers,
)

Parameters

$rolesarray<string, list<string>>Grammar rules grouped by layout role
$headerslist<string>Recognized clause keyword sequences

Test cases 16§

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 15

Relations§

Instantiated in 3
Method calls 9
Type declarations 9