File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/Symfony/Bundle/FrameworkBundle Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 5.4
5
+ ---
6
+
7
+ * Add autowiring alias for ` HttpCache\StoreInterface `
8
+
4
9
5.3
5
10
---
6
11
Original file line number Diff line number Diff line change 34
34
use Symfony \Component \HttpKernel \DependencyInjection \ServicesResetter ;
35
35
use Symfony \Component \HttpKernel \EventListener \LocaleAwareListener ;
36
36
use Symfony \Component \HttpKernel \HttpCache \Store ;
37
+ use Symfony \Component \HttpKernel \HttpCache \StoreInterface ;
37
38
use Symfony \Component \HttpKernel \HttpKernel ;
38
39
use Symfony \Component \HttpKernel \HttpKernelInterface ;
39
40
use Symfony \Component \HttpKernel \KernelEvents ;
@@ -104,6 +105,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
104
105
->args ([
105
106
param ('kernel.cache_dir ' ).'/http_cache ' ,
106
107
])
108
+ ->alias (StoreInterface::class, 'http_cache.store ' )
107
109
108
110
->set ('url_helper ' , UrlHelper::class)
109
111
->args ([
You can’t perform that action at this time.
0 commit comments