File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11The Symfony 3.3 DI Container Changes Explained (autowiring, _defaults, etc)
22===========================================================================
33
4- If you look at the ``services.yml `` file in a new Symfony 3.3 project, you'll
4+ If you look at the ``services.yml `` file in a new Symfony >= 3.3 project, you'll
55notice some big changes: ``_defaults ``, ``autowiring ``, ``autoconfigure `` and more.
66These features are designed to *automate * configuration and make development faster,
77without sacrificing predictability, which is very important! Another goal is to make
@@ -597,6 +597,8 @@ to the new id. Create a new ``legacy_aliases.yml`` file:
597597
598598 # app/config/legacy_aliases.yml
599599 services :
600+ _defaults :
601+ public : true
600602 # aliases so that the old service ids can still be accessed
601603 # remove these if/when you are not fetching these directly
602604 # from the container via $container->get()
You can’t perform that action at this time.
0 commit comments