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

Writes chosen whitespace while retaining comment-bearing trivia verbatim.

Methods§

public function token(Token $token, string $separator): void
public function finish(string $trailing): string

Returns the result with any final comments preserved.

Parameters

$trailingstring

Returns

string
Test cases 3
Called from 1
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private string $text = ''

Test cases 12§

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

Dedicated tests 2
Other tests reaching this symbol 10

Relations§

Instantiated in 1
Method calls 4
Type declarations 4