diff --git a/src/Pool.php b/src/Pool.php index b430252..e794b38 100644 --- a/src/Pool.php +++ b/src/Pool.php @@ -15,6 +15,13 @@ public function __construct( ) { } + public function flushChanges(): void + { + foreach ($this->mappers as $mapper) { + $mapper->flushChanges(); + } + } + public function getChanges(): array { $changes = [];