File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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
596597But, this change will break our app! The old service ids (e.g. ``app.github_notifier ``)
You can’t perform that action at this time.
0 commit comments