File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ call if the service exists and remove the method call if it does not:
91
91
92
92
<service id =" app.newsletter_manager" class =" AppBundle\Newsletter\NewsletterManager" >
93
93
<call method =" setMailer" >
94
- <argument type =" service" id =" my_mailer " on-invalid =" ignore" />
94
+ <argument type =" service" id =" app.mailer " on-invalid =" ignore" />
95
95
</call >
96
96
</service >
97
97
</services >
@@ -110,7 +110,7 @@ call if the service exists and remove the method call if it does not:
110
110
->register('app.newsletter_manager', NewsletterManager::class)
111
111
->addMethodCall('setMailer', array(
112
112
new Reference(
113
- 'my_mailer ',
113
+ 'app.mailer ',
114
114
ContainerInterface::IGNORE_ON_INVALID_REFERENCE
115
115
),
116
116
))
You can’t perform that action at this time.
0 commit comments