classRowProjector
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
$valueRenderer | MySqlValueRenderer |
public function projectRow(
list<string> $targets,
array<string, string> $setOperations,
list<string|null> $values,
): array<string, string>Parameters
$targets | list<string> | |
$setOperations | array<string, string> | |
$values | list<string|null> |
Returns
array<string, string>Test cases 1
Called from 1
Calls 5
- function-call
array_key_existsline 35 - function-call
strtolowerline 38 - function-call
substrline 38 - method-call MySqlValueRenderer::renderValue() line 41
- method-call RowProjector::substituteVariables() line 44
public function substituteVariables(
string $expression,
array<string, string|null> $variables,
): stringParameters
$expression | string | |
$variables | array<string, string|null> |
Returns
stringTest cases 1
Called from 1
Calls 7
- static-call SqlTokenStream::tokenize() line 55
- static-call MySqlLexerProfile::create() line 55
- function-call
countline 59 - function-call
strtolowerline 73 - function-call
array_key_existsline 74 - function-call
substrline 78 - method-call MySqlValueRenderer::renderValue() line 79
Private surface 1§
Implementation details, listed for orientation only.
private MySqlValueRenderer $valueRendererTest 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
MySqlSessionFactoryTestcallsMySqlLoadDataProjectorTestcallsMySqlRewriterTestcalls