Skip to content

Commit 63801a7

Browse files
committed
Allow change prefix in TmpfsCacheEngine.php
1 parent 54c397d commit 63801a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Psr16/TmpfsCacheEngine.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class TmpfsCacheEngine extends FileSystemCacheEngine
88
{
99

10-
public function __construct(?LoggerInterface $logger = null)
10+
public function __construct(string $prefix = "cache", ?LoggerInterface $logger = null)
1111
{
12-
parent::__construct('cache', '/dev/shm', $logger);
12+
parent::__construct($prefix, '/dev/shm', $logger);
1313
}
1414
}

0 commit comments

Comments
 (0)