Skip to content

Commit 09b1a7a

Browse files
committed
Minor reword
1 parent 98bf4ff commit 09b1a7a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

service_container/3.3-di-changes.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,12 +585,13 @@ Start by updating the service ids to class names:
585585
account when looking up for services.
586586
Furthermore it is always recommended to check for definition existence
587587
using ``has()`` function.
588-
588+
589589
.. note::
590590

591-
If you get rid of deprecations and extend ``AbstractController`` instead of ``Controller`` for
592-
your controllers, you can skip the rest of this step as `AbstractController` won't provide a
593-
container where you can get the services directly. All services need to be injected as explained
591+
If you get rid of deprecations and make your controllers extend from
592+
``AbstractController`` instead of ``Controller``, you can skip the rest of
593+
this step because ``AbstractController`` doesn't provide a container where
594+
you can get the services from. All services need to be injected as explained
594595
in the :ref:`step 5 of this article <step-5>`.
595596

596597
But, this change will break our app! The old service ids (e.g. ``app.github_notifier``)

0 commit comments

Comments
 (0)