Skip to content

Commit 46b2fe6

Browse files
committed
Fix autoconfigure to autowire
1 parent 10fd2ab commit 46b2fe6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ count and iterate over the services of the locator::
140140
The :class:`Symfony\\Contracts\\Service\\ServiceCollectionInterface` was
141141
introduced in Symfony 7.1.
142142

143-
Without autoconfiguration
144-
~~~~~~~~~~~~~~~~~~~~~~~~~
143+
Without autowire
144+
~~~~~~~~~~~~~~~~
145145

146-
If you are not using autoconfiguration you need to require either ``Psr\Container\ContainerInterface`` or ``Symfony\Contracts\Service\ServiceProviderInterface`` as a ``__construct`` argument or as a method call like ``setContainer(Psr\Container\ContainerInterface $container)``.
146+
If you are not using autowire you need to require either ``Psr\Container\ContainerInterface`` or ``Symfony\Contracts\Service\ServiceProviderInterface`` as a ``__construct`` argument or as a method call like ``setContainer(Psr\Container\ContainerInterface $container)``.
147147

148148
Including Services
149149
------------------

0 commit comments

Comments
 (0)