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;