Skip to content

Commit d1b3020

Browse files
committed
Merge branch '5.0'
* 5.0: Fix link to ServiceSubscriberInterface
2 parents 7a783d8 + a740541 commit d1b3020

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)