From 3d75d9a7d1f1659b87ce5096b4c7e1d6fb94dc22 Mon Sep 17 00:00:00 2001 From: Laurent VOULLEMIER Date: Thu, 23 Jan 2020 20:40:28 +0100 Subject: [PATCH] Update service_container.rst Controller base class doesn't exist anymore in SF 5.0 --- service_container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container.rst b/service_container.rst index f918be188cf..5eefce21d5d 100644 --- a/service_container.rst +++ b/service_container.rst @@ -812,7 +812,7 @@ this file is ``public: false`` by default. What does this mean? When a service **is** public, you can access it directly from the container object, which is accessible from any controller that extends -``Controller``:: +:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController`:: use App\Service\MessageGenerator;