Skip to content

Commit

Permalink
pool changes flush method
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed May 7, 2024
1 parent 5dbd11d commit 5992bc1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Pool.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ public function __construct(
) {
}

public function flushChanges(): void
{
foreach ($this->mappers as $mapper) {
$mapper->flushChanges();
}
}

public function getChanges(): array
{
$changes = [];
Expand Down

0 comments on commit 5992bc1

Please sign in to comment.