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 1a387be commit 282d0fcCopy full SHA for 282d0fc
service_container/optional_dependencies.rst
@@ -76,7 +76,8 @@ call if the service exists and remove the method call if it does not:
76
services:
77
app.newsletter_manager:
78
class: AppBundle\Newsletter\NewsletterManager
79
- arguments: ['@?app.mailer']
+ calls:
80
+ - [setMailer, ['@?app.mailer']]
81
82
.. code-block:: xml
83
0 commit comments