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:
585
585
account when looking up for services.
586
586
Furthermore it is always recommended to check for definition existence
587
587
using ``has() `` function.
588
-
588
+
589
589
.. note ::
590
590
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
594
595
in the :ref: `step 5 of this article <step-5 >`.
595
596
596
597
But, 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