From e55312473da5d6ff3452d9c9d54fff1293b344d5 Mon Sep 17 00:00:00 2001 From: Gary Houbre Date: Fri, 24 Jul 2020 14:30:12 +0200 Subject: [PATCH] Add namespace into service_container.rst file --- service_container.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service_container.rst b/service_container.rst index 7c4ae87b117..d918f590f7f 100644 --- a/service_container.rst +++ b/service_container.rst @@ -331,7 +331,8 @@ Now, this new service is ready to be used. In a controller, for example, you can type-hint the new ``SiteUpdateManager`` class and use it:: // src/Controller/SiteController.php - + namespace App\Controller; + // ... use App\Updates\SiteUpdateManager;