Skip to content

Commit a740541

Browse files
committed
minor #13602 Fix link to ServiceSubscriberInterface (jspaetzel)
This PR was merged into the 5.0 branch. Discussion ---------- Fix link to ServiceSubscriberInterface <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 4dc8668 Fix link to ServiceSubscriberInterface
2 parents 4e96450 + 4dc8668 commit a740541

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)