add container.autowiring.strict_mode to 3.4 docs

This commit is contained in:
Christian Flothmann 2018-02-23 09:15:10 +01:00
parent 952786af26
commit 4d973c2676
1 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,15 @@ DependencyInjection
autowire: true
```
* Autowiring services based on the types they implement is deprecated and will not be supported anymore in Symfony 4.0
where it will only match an alias or a service id that matches then given FQCN. You can opt in the behavior of Symfony
4 by the enabling the `container.autowiring.strict_mode` parameter:
```yml
parameters:
container.autowiring.strict_mode: true
```
* Top-level anonymous services in XML are deprecated and will throw an exception in Symfony 4.0.
* Case insensitivity of parameter names is deprecated and will be removed in 4.0.