Skip to content

Commit e553124

Browse files
TheGariousjaviereguiluz
authored andcommitted
Add namespace into service_container.rst file
1 parent eb91ba9 commit e553124

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ Now, this new service is ready to be used. In a controller, for example,
331331
you can type-hint the new ``SiteUpdateManager`` class and use it::
332332

333333
// src/Controller/SiteController.php
334-
334+
namespace App\Controller;
335+
335336
// ...
336337
use App\Updates\SiteUpdateManager;
337338

0 commit comments

Comments
 (0)