interface Element
Public API: explicitly declared with @visibility public.

A structured SQL value that writes its own fields and fixed syntax.

Accepting a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Element $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Methods§

public function write(Writer $writer): void

Writes SQL using this value's data, without a parser or a source tree.

Parameters

$writerWriter
Called from 1

Test cases 8§

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 7

Relations§

Extended by 2137
Method calls 1
Constant reads 2
Type checks 2
Type declarations 21