final class TableTransition

What happened to one table, as the rows themselves rather than as a count.

A referential action is decided by the values in the rows that moved, so what a statement did has to be carried around as those rows and not as the number of them.

Type Aliases§

Row = import from TableDefinition

Properties§

public string $table
public array<int, Row> $deleted
public list<RowChange> $updated

Methods§

public function __construct(
    public string $table,
    public array<int, Row> $deleted,
    public list<RowChange> $updated,
)

Parameters

$tablestringTable this happened to
$deletedarray<int, Row>Rows that are no longer there
$updatedlist<RowChange>Rows that are still there, changed
Test cases 4
public function isEmpty(): bool

Reports whether nothing happened to the table.

Returns

bool True when no row was deleted and none was changed
Test cases 3

Test cases 12§

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

Dedicated tests 4
Other tests reaching this symbol 8

Relations§

Instantiated in 2
Type declarations 3