Skip to content

Commit eb7f427

Browse files
committed
tagpool group
1 parent d70d3c4 commit eb7f427

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/cache/src/CachePool.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,10 @@ public function withGroup(string $group): static
908908
$new = clone $this;
909909
$new->storage = $this->storage->withGroup($group);
910910

911+
if ($new->tagPool instanceof self && $new->tagPool->isGroupSupported()) {
912+
$new->tagPool = $new->tagPool->withGroup($group);
913+
}
914+
911915
return $new;
912916
}
913917

0 commit comments

Comments
 (0)