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

Applies one layout to grammar-derived clauses, lists, and nested blocks.

Methods§

public function __construct(private Document $document, private FormatOptions $options)

Starts a fresh output buffer for the supplied document.

Parameters

$documentDocument
$optionsFormatOptions
Calls 1
public function render(): string

Private surface 3§

Implementation details, listed for orientation only.

private Writer $writer
private Document $document
private FormatOptions $options

Test cases 9§

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 8

Relations§

Instantiated in 1
Method calls 1