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

Decodes quoted PostgreSQL identifiers and column lists.

Methods§

public function unquoteIdentifier(string $identifier): string

Unquote a PostgreSQL identifier (remove double quotes).

Parameters

$identifierstring

Returns

string
Test cases 1
Called from 14
Calls 4
public function stripSchemaPrefix(string $name): string

Strip schema prefix from a potentially schema-qualified name. "public"."users" -> "users", public.users -> users

Parameters

$namestring

Returns

string
Test cases 1
Called from 8
Calls 1
public function parseColumnList(string $columnStr): list<string>

Test cases 27§

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 23

Relations§

Instantiated in 16
Method calls 23