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

Recognizes the boundaries of PostgreSQL quoted lexical spans.

Methods§

public static function dollarQuotedLength(string $sql): ?int
public static function dollarQuoteDelimiter(string $sql): ?string

Reads a PostgreSQL dollar-quote delimiter at the beginning of a string.

Parameters

$sqlstring

Returns

?string
Test cases 1
Called from 1
Calls 4
public static function isEscapeStringStart(string $sql, int $quotePosition): bool

Test cases 37§

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

Dedicated tests 4
Other tests reaching this symbol 33

Relations§

Static calls 10