final class MySqlIdentifierQuoter
    implements IdentifierQuoter

MySQL implementation of IdentifierQuoter.

Uses backtick quoting (identifier). Strips surrounding backticks to prevent double-quoting, then escapes any remaining embedded backticks by doubling them.

Methods§

public function quote(string $identifier): string

Quote for the supplied MySQL input.

Parameters

$identifierstring

Returns

string
Test cases 16
Called from 17
Calls 3

Test cases 55§

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

Dedicated tests 16
Other tests reaching this symbol 39

Relations§

Instantiated in 8
Method calls 17
Type declarations 6