Skip to content

Commit 5992bc1

Browse files
committed
pool changes flush method
1 parent 5dbd11d commit 5992bc1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Pool.php

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ public function __construct(
1515
) {
1616
}
1717

18+
public function flushChanges(): void
19+
{
20+
foreach ($this->mappers as $mapper) {
21+
$mapper->flushChanges();
22+
}
23+
}
24+
1825
public function getChanges(): array
1926
{
2027
$changes = [];

0 commit comments

Comments
 (0)