enum Comparison
Public API: explicitly declared with @visibility public.

How two decoded identifiers are compared in one name space of a language profile.

Comparing names without regard to ASCII letter casedoctest
\SqlSemantics\Platform\Sqlite\Model\Statement\Identifier\Comparison::AsciiInsensitive->equal('Users', 'USERS') // => true

Cases§

case Sensitive
case AsciiInsensitive

Methods§

public function equal(string $left, string $right): bool

Decides whether two decoded identifiers denote the same name.

Parameters

$leftstring
$rightstring

Returns

bool
Called from 10
Calls 3
public function fold(string $name): string

Folds ASCII letters only; every other byte is kept, independent of the host locale.

Parameters

$namestring

Returns

string
Called from 1
Calls 1

Test cases 52§

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

Dedicated tests 3
Other tests reaching this symbol 49

Relations§

Method calls 10
Constant reads 10
Type declarations 13