minor #34180 [DI] Fix "!tagged" related upgrade/changelog notes (chalasr)
This PR was merged into the 4.4 branch.
Discussion
----------
[DI] Fix "!tagged" related upgrade/changelog notes
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Commits
-------
81b9c3c682
[DI] Fix "!tagged" related upgrade/changelog notes
This commit is contained in:
commit
8e2bc5fe0a
@ -39,22 +39,6 @@ DependencyInjection
|
|||||||
factory: ['@factory_service', method]
|
factory: ['@factory_service', method]
|
||||||
```
|
```
|
||||||
|
|
||||||
* Deprecated `tagged` in favor of `tagged_iterator`
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
App\HandlerCollection:
|
|
||||||
arguments: [!tagged my_tag]
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
App\HandlerCollection:
|
|
||||||
arguments: [!tagged_iterator my_tag]
|
|
||||||
```
|
|
||||||
|
|
||||||
* Passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition` is deprecated.
|
* Passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition` is deprecated.
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
|
@ -94,27 +94,6 @@ DependencyInjection
|
|||||||
my_service:
|
my_service:
|
||||||
factory: ['@factory_service', method]
|
factory: ['@factory_service', method]
|
||||||
```
|
```
|
||||||
* Removed `tagged` in favor of `tagged_iterator`
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
App\Handler:
|
|
||||||
tags: ['app.handler']
|
|
||||||
|
|
||||||
App\HandlerCollection:
|
|
||||||
arguments: [!tagged app.handler]
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```yaml
|
|
||||||
services:
|
|
||||||
App\Handler:
|
|
||||||
tags: ['app.handler']
|
|
||||||
|
|
||||||
App\HandlerCollection:
|
|
||||||
arguments: [!tagged_iterator app.handler]
|
|
||||||
```
|
|
||||||
|
|
||||||
DoctrineBridge
|
DoctrineBridge
|
||||||
--------------
|
--------------
|
||||||
|
@ -7,7 +7,7 @@ CHANGELOG
|
|||||||
* added support for opcache.preload by generating a preloading script in the cache folder
|
* added support for opcache.preload by generating a preloading script in the cache folder
|
||||||
* added support for dumping the container in one file instead of many files
|
* added support for dumping the container in one file instead of many files
|
||||||
* deprecated support for short factories and short configurators in Yaml
|
* deprecated support for short factories and short configurators in Yaml
|
||||||
* deprecated `tagged` in favor of `tagged_iterator`
|
* added `tagged_iterator` alias for `tagged` which might be deprecated in a future version
|
||||||
* deprecated passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition`
|
* deprecated passing an instance of `Symfony\Component\DependencyInjection\Parameter` as class name to `Symfony\Component\DependencyInjection\Definition`
|
||||||
* added support for binding iterable and tagged services
|
* added support for binding iterable and tagged services
|
||||||
* made singly-implemented interfaces detection be scoped by file
|
* made singly-implemented interfaces detection be scoped by file
|
||||||
|
Reference in New Issue
Block a user