You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #40262 [DoctrineBridge] Param as connection in *.event_subscriber/listener tags (wbloszyk)
This PR was merged into the 5.4 branch.
Discussion
----------
[DoctrineBridge] Param as connection in `*.event_subscriber/listener` tags
| Q | A
| ------------- | ---
| Branch? | 5.x
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | Fix#40260
| License | MIT
| Doc PR | -
It can be consider as bug, becouse using `%param%` is allowing in configuration, but can not be use in tag.
It can be consider as feaure becouse tag should be provide by compiller pass.
Commits
-------
99847c2 Allow using param as connection atribute in `*.event_subscriber` and `*.event_listener` tags
Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPassTest.php
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,8 @@ public function testProcessEventListenersWithMultipleConnections()
0 commit comments