Skip to content

Commit 1a2c132

Browse files
committed
docs: fix undefined variable in caching example
1 parent 48e4c66 commit 1a2c132

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/developers/caching.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can use any PSR-16 compatible cache implementation:
6464
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
6565
use Symfony\Component\Cache\Psr16Cache;
6666
67-
$pool = new FilesystemAdapter('inventory', 3600, $cacheDir);
67+
$pool = new FilesystemAdapter('inventory', 3600, '/path/to/cache');
6868
$cache = new Psr16Cache($pool);
6969
7070
**Redis Cache** (for shared/distributed caching):

0 commit comments

Comments
 (0)