Skip to content

Commit ff401de

Browse files
committed
minor #13995 Add namespace into service_container.rst file (TheGarious)
This PR was submitted for the 5.1 branch but it was merged into the 4.4 branch instead. Discussion ---------- Add namespace into service_container.rst file <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- e553124 Add namespace into service_container.rst file
2 parents eb91ba9 + e553124 commit ff401de

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)