interfaceIdentifierQuoter
interface IdentifierQuoter
Quotes SQL identifiers using platform-specific quoting characters.
MySQL uses backticks, PostgreSQL and SQLite use double quotes.
Methods§
public function quote(string $identifier): stringQuote a SQL identifier.
Parameters
$identifier | string | The identifier to quote (e.g. "users", "column_name"). |
Returns
string The quoted identifier (e.g. "`users`", "\"users\"").Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
IdentifierQuoterTestcalls
Other tests reaching this symbol 2
IdentifierQuoterContractTestcallsFakeIdentifierQuotercalls