diff --git a/service_container.rst b/service_container.rst index e0d2de287ca..7c610741393 100644 --- a/service_container.rst +++ b/service_container.rst @@ -860,7 +860,7 @@ This is mostly useful when you want to fetch services lazily:: As a best practice, you should only create *private* services, which will happen automatically. And also, you should *not* use the ``$container->get()`` method to -fetch public services. +fetch private services. But, if you *do* need to make a service public, override the ``public`` setting: