Closed
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))
.
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))
.