File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ to another service: ``App\Mailer``. One way to do this is with an expression:
6767
$services->set(MailerConfiguration::class);
6868
6969
$services->set(Mailer::class)
70-
->args([expr(sprintf('service(%s).getMailerMethod()', MailerConfiguration::class))]);
70+
->args([expr(sprintf('service(%s).getMailerMethod()', var_export(MailerConfiguration::class, true)))]);
7171
};
7272
7373

0 commit comments

Comments
 (0)