Skip to content

Commit f0273f8

Browse files
committed
bug #6717 Cache Component: Fix SQLite3Cache instanciation (ReDnAxE)
This PR was merged into the 3.1 branch. Discussion ---------- Cache Component: Fix SQLite3Cache instanciation My first small contribution ^^ `new SQLite3Cache()` instead of `new SQLite3()` according to the use statement Commits ------- faa3447 Cache Component: Fix SQLite3Cache instanciation
2 parents 8ff5c48 + faa3447 commit f0273f8

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)