We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aba73d commit 1a8c9abCopy full SHA for 1a8c9ab
components/cache/cache_pools.rst
@@ -153,7 +153,8 @@ application as if they were Symfony Cache adapters::
153
use Doctrine\Common\Cache\SQLite3Cache;
154
use Symfony\Component\Cache\Adapter\DoctrineAdapter;
155
156
- $doctrineCache = new SQLite3Cache(__DIR__.'/cache/data.sqlite');
+ $sqliteDatabase = new \SQLite3(__DIR__.'/cache/data.sqlite');
157
+ $doctrineCache = new SQLite3Cache($sqliteDatabase, 'tableName');
158
$symfonyCache = new DoctrineAdapter($doctrineCache);
159
160
This adapter also defines two optional arguments called ``namespace`` (default:
0 commit comments