Skip to content

Commit 4dc8668

Browse files
authored
Fix link to ServiceSubscriberInterface
1 parent 5514b60 commit 4dc8668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/service_subscribers_locators.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ through a **Service Locator**, a separate lazy-loaded container.
6565
Defining a Service Subscriber
6666
-----------------------------
6767

68-
First, turn ``CommandBus`` into an implementation of :class:`Symfony\\Component\\DependencyInjection\\ServiceSubscriberInterface`.
68+
First, turn ``CommandBus`` into an implementation of :class:`Symfony\\Contracts\\Service\\ServiceSubscriberInterface`.
6969
Use its ``getSubscribedServices()`` method to include as many services as needed
7070
in the service subscriber and change the type hint of the container to
7171
a PSR-11 ``ContainerInterface``::

0 commit comments

Comments
 (0)