Skip to content

Commit 62e0d2e

Browse files
committed
Allow change prefix in TmpfsCacheEngine.php
1 parent 63801a7 commit 62e0d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Factory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ public static function createRedisCacheEngine(?string $servers = null, ?string $
7070
);
7171
}
7272

73-
public static function createTmpfsCachePool(?LoggerInterface $logger = null): CachePool
73+
public static function createTmpfsCachePool(string $prefix = 'cache', ?LoggerInterface $logger = null): CachePool
7474
{
7575
return new CachePool(
76-
new TmpfsCacheEngine($logger)
76+
new TmpfsCacheEngine($prefix, $logger)
7777
);
7878
}
7979

0 commit comments

Comments
 (0)