We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377d585 commit 508b971Copy full SHA for 508b971
best_practices.rst
@@ -234,7 +234,7 @@ the fact that a controller should always return a ``Response`` object.
234
Use Dependency Injection to Get Services
235
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236
237
-If you extend the base ``AbstractController``, you can't access services
+If you extend the base ``AbstractController``, you can't access private services
238
directly from the container via ``$this->container->get()`` or ``$this->get()``.
239
Instead, you must use dependency injection to fetch services by
240
:ref:`type-hinting action method arguments <controller-accessing-services>` or
0 commit comments