classSqlFormatter
final class SqlFormatter
implements SqlFormatter
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Formats PostgreSql SQL for catalog reports.
Methods§
public function format(string $sql): ?stringFormats accepted syntax and leaves unsupported input to another policy.
Parameters
$sql | string |
Returns
?stringCalls 5
- new Formatter line 30
- new PostgreSqlParser line 30
- new Dialect line 30
- new FormatOptions line 30
- class-const Style::Expanded() line 30
Private surface 1§
Implementation details, listed for orientation only.
private ?Formatter $formatter = nullTest cases 2§
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 1
BuiltinsTestcalls