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

Renders a nested token range with independent clause alignment.

Methods§

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

Shares the immutable options and the document output buffer.

Parameters

$documentDocument
$writerWriter
$optionsFormatOptions
public function render(int $start, int $end, int $base): void

Private surface 3§

Implementation details, listed for orientation only.

private Document $document
private Writer $writer
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 2
Type declarations 1