File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ public function register(): void
319
319
$ app ->make (ResourceClassResolverInterface::class)
320
320
),
321
321
),
322
- true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('cache.default ' , 'file ' )
322
+ true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('api-platform.cache ' , 'file ' )
323
323
);
324
324
});
325
325
@@ -337,7 +337,7 @@ public function register(): void
337
337
)
338
338
)
339
339
),
340
- true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('cache.default ' , 'file ' )
340
+ true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('api-platform.cache ' , 'file ' )
341
341
);
342
342
});
343
343
@@ -408,7 +408,7 @@ public function register(): void
408
408
$ app ->make ('filters ' )
409
409
)
410
410
),
411
- true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('cache.default ' , 'file ' )
411
+ true === $ config ->get ('app.debug ' ) ? 'array ' : $ config ->get ('api-platform.cache ' , 'file ' )
412
412
);
413
413
});
414
414
Original file line number Diff line number Diff line change 118
118
'serializer ' => [
119
119
'hydra_prefix ' => false ,
120
120
// 'datetime_format' => \DateTimeInterface::RFC3339
121
- ]
121
+ ],
122
+
123
+ // we recommend using "file" or "acpu"
124
+ 'cache ' => 'file '
122
125
];
You can’t perform that action at this time.
0 commit comments