interface ShadowMutation

What a statement would do to the shadow.

Type Aliases§

Row = import from TableDefinition

Methods§

public function apply(ShadowStore $store, array<int, Row> $rows): void

Writes into the shadow what the statement would have written.

The rows are what the rewritten statement read back, which is what the database would have written -- so applying is carrying that into the shadow, not working out the effect a second time.

Parameters

$storeShadowStoreShadow to write into
$rowsarray<int, Row>Rows the rewritten statement read back

Throws

SimulationException When the shadow will not take what the statement would write
Called from 1

Test cases 1§

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

Other tests reaching this symbol 1

Relations§

Implemented by 3
Extended by 2
Method calls 9
Type declarations 10