We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b37567 commit 6dc8933Copy full SHA for 6dc8933
service_container.rst
@@ -403,7 +403,7 @@ example, suppose you want to make the admin email configurable:
403
404
If you make this change and refresh, you'll see an error:
405
406
- Cannot autowire service "App\Service\SiteUpdateManager": argument "$adminEmail"
+ Cannot autowire service "App\\Service\\SiteUpdateManager": argument "$adminEmail"
407
of method "__construct()" must have a type-hint or be given a value explicitly.
408
409
That makes sense! There is no way that the container knows what value you want to
0 commit comments