Commit 9406768 1 parent 07ef232 commit 9406768 Copy full SHA for 9406768
File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ Supported drivers:
186
186
> Take a look at more information in official Doctrine documentation:
187
187
> - https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/caching.html
188
188
189
- A Doctrine can automatically cache result sets. The feature is optional though, and by default, no result set is cached.
189
+ A Doctrine DBAL can automatically cache result sets. The feature is optional though, and by default, no result set is cached.
190
190
You can enable the result cache by setting the ` resultCache ` configuration option to an instance of a cache driver.
191
191
192
192
> [ !WARNING]
@@ -221,9 +221,7 @@ nettrine.dbal:
221
221
connections:
222
222
default:
223
223
# Creat cache manually
224
- resultCache: Symfony\Component\Cache\Adapter\Psr16Adapter(
225
- Symfony\Component\Cache\Adapter\FilesystemAdapter(%tempDir%/cache/dbal)
226
- )
224
+ resultCache: Symfony\Component\Cache\Adapter\FilesystemAdapter(namespace: doctrine-dbal, defaultLifetime: 0, directory: %tempDir%/cache/dbal)
227
225
228
226
# Use registered cache service
229
227
resultCache: @cacheFilesystem
You can’t perform that action at this time.
0 commit comments