File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ CHANGELOG
15
15
* Deprecate the ` framework.validation.cache ` option
16
16
* Add ` --method ` option to the ` debug:router ` command
17
17
* Auto-exclude DI extensions, test cases, entities and messenger messages
18
+ * Add DI alias from ` ServicesResetterInterface ` to ` services_resetter `
18
19
19
20
7.2
20
21
---
Original file line number Diff line number Diff line change 42
42
use Symfony \Component \HttpKernel \CacheWarmer \CacheWarmerAggregate ;
43
43
use Symfony \Component \HttpKernel \Config \FileLocator ;
44
44
use Symfony \Component \HttpKernel \DependencyInjection \ServicesResetter ;
45
+ use Symfony \Component \HttpKernel \DependencyInjection \ServicesResetterInterface ;
45
46
use Symfony \Component \HttpKernel \EventListener \LocaleAwareListener ;
46
47
use Symfony \Component \HttpKernel \HttpCache \Store ;
47
48
use Symfony \Component \HttpKernel \HttpCache \StoreInterface ;
@@ -177,6 +178,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
177
178
178
179
->set ('services_resetter ' , ServicesResetter::class)
179
180
->public ()
181
+ ->alias (ServicesResetterInterface::class, 'services_resetter ' )
180
182
181
183
->set ('reverse_container ' , ReverseContainer::class)
182
184
->args ([
You can’t perform that action at this time.
0 commit comments