Skip to content

Commit 74853d4

Browse files
Alexeigan
authored andcommitted
Update cache config
1 parent d15e801 commit 74853d4

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

orm/config-file.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,21 @@ return [
153153
|
154154
*/
155155
'cache' => [
156-
'default' => env('DOCTRINE_CACHE', 'array'),
157-
'namespace' => null,
158-
'second_level' => false,
156+
'second_level' => false,
157+
'default' => env('DOCTRINE_CACHE', 'array'),
158+
'namespace' => null,
159+
'metadata' => [
160+
'driver' => env('DOCTRINE_METADATA_CACHE', env('DOCTRINE_CACHE', 'array')),
161+
'namespace' => null,
162+
],
163+
'query' => [
164+
'driver' => env('DOCTRINE_QUERY_CACHE', env('DOCTRINE_CACHE', 'array')),
165+
'namespace' => null,
166+
],
167+
'result' => [
168+
'driver' => env('DOCTRINE_RESULT_CACHE', env('DOCTRINE_CACHE', 'array')),
169+
'namespace' => null,
170+
],
159171
],
160172
/*
161173
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)