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 #48710 [DependencyInjection] Add support for nesting autowiring-related attributes into #[Autowire(...)] (nicolas-grekas)
This PR was merged into the 6.3 branch.
Discussion
----------
[DependencyInjection] Add support for nesting autowiring-related attributes into `#[Autowire(...)]`
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Commits
-------
55c7ce4 [DependencyInjection] Add support for nesting autowiring-related attributes into `#[Autowire(...)]`
@@ -1254,4 +1256,25 @@ public function testTypeNamespaceExcluded()
1254
1256
$this->assertSame('Cannot autowire service "a": argument "$k" of method "Symfony\Component\DependencyInjection\Tests\Compiler\NotGuessableArgument::__construct()" needs an instance of "Symfony\Component\DependencyInjection\Tests\Compiler\Foo" but this type has been excluded from autowiring.', (string) $e->getMessage());
0 commit comments