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
Copy file name to clipboardExpand all lines: service_container/service_subscribers_locators.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -140,10 +140,10 @@ count and iterate over the services of the locator::
140
140
The :class:`Symfony\\Contracts\\Service\\ServiceCollectionInterface` was
141
141
introduced in Symfony 7.1.
142
142
143
-
Without autoconfiguration
144
-
~~~~~~~~~~~~~~~~~~~~~~~~~
143
+
Without autowire
144
+
~~~~~~~~~~~~~~~~
145
145
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)``.
0 commit comments