final class RowProjector
Restricted visibility: declared "@visibility ZtdQuery\Platform\MySql". Code outside that scope must not name this declaration.

Row Projector.

Methods§

public function __construct(private MySqlValueRenderer $valueRenderer)

Configure the dependencies used by this operation.

Parameters

$valueRendererMySqlValueRenderer
public function projectRow(
    list<string> $targets,
    array<string, string> $setOperations,
    list<string|null> $values,
): array<string, string>

Parameters

$targetslist<string>
$setOperationsarray<string, string>
$valueslist<string|null>

Returns

array<string, string>
Test cases 1
Called from 1
Calls 5
public function substituteVariables(
    string $expression,
    array<string, string|null> $variables,
): string

Parameters

$expressionstring
$variablesarray<string, string|null>

Returns

string
Test cases 1
Called from 1
Calls 7

Private surface 1§

Implementation details, listed for orientation only.

private MySqlValueRenderer $valueRenderer

Test cases 5§

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

Dedicated tests 2
Other tests reaching this symbol 3

Relations§

Instantiated in 1
Method calls 1