Skip to content

Commit faa3447

Browse files
authored
Cache Component: Fix SQLite3Cache instanciation
1 parent 8ff5c48 commit faa3447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/cache/cache_pools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ application as if they were Symfony Cache adapters::
153153
use Doctrine\Common\Cache\SQLite3Cache;
154154
use Symfony\Component\Cache\Adapter\DoctrineAdapter;
155155

156-
$doctrineCache = new SQLite3(__DIR__.'/cache/data.sqlite');
156+
$doctrineCache = new SQLite3Cache(__DIR__.'/cache/data.sqlite');
157157
$symfonyCache = new DoctrineAdapter($doctrineCache);
158158

159159
This adapter also defines two optional arguments called ``namespace`` (default:

0 commit comments

Comments
 (0)