-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
DependencyInjectionactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Milestone
Description
The new autowire()
method of the ContainerBuilder
that was introduced in symfony/symfony#20648 is a shortcut for $container->setDefinition($id, (new Definition($class))->setAutowired(true))
.
Metadata
Metadata
Assignees
Labels
DependencyInjectionactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.