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 43116ca commit 4995724Copy full SHA for 4995724
README.md
@@ -86,7 +86,7 @@ class MailFactory
86
}
87
88
$mail1 = $container->get(MailFactory::class)->createMail('info@example.com');
89
-$mail2 = $container->create(Mail::class, [1 =>'info@example.com']);
+$mail2 = $container->create(Mail::class, ['to' =>'info@example.com']);
90
91
```
92
The ```create()``` method will automatically resolve the ```Config``` dependency for ```Mail```.
0 commit comments