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
bug symfony#22330 [HttpKernel] Resolve invokable controllers short notations using ServiceValueResolver (chalasr)
This PR was merged into the 3.3-dev branch.
Discussion
----------
[HttpKernel] Resolve invokable controllers short notations using ServiceValueResolver
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | symfony#22202
| License | MIT
| Doc PR | n/a
Register the service id as an alias of `id:__invoke` so that using the invokable short notation (id only) triggers the ServiceArgumentResolver.
Commits
-------
717fa85 Resolve invokable controllers short notations using ServiceValueResolver
Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RemoveEmptyControllerArgumentLocatorsPassTest.php
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,44 @@ public function testSameIdClass()
0 commit comments