interfaceParameterBindingCompiler
interface ParameterBindingCompiler
Writes a statement and its values in the form a driver will take.
Drivers disagree about what a placeholder is and whether a value may be bound by name, so a statement ZTD rewrote has to be put into the shape the driver underneath expects before it is run.
Methods§
public function compile(
string $sql,
array<int|string, mixed>|null $params,
): array{sql: string, params: array<int|string, mixed>|null}Parameters
$sql | string | |
$params | array<int|string, mixed>|null |
Returns
array{sql: string, params: array<int|string, mixed>|null}Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.