mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-23 16:22:10 +01:00
Merge branch '7.2' into 7.3
* 7.2: fix: minor in file `webhook.rst` Fix yaml and xml example syntax error at factories.rst
This commit is contained in:
@@ -389,7 +389,7 @@ e.g. change the service based on a parameter:
|
||||
|
||||
# you can use the arg() function to retrieve an argument from the definition
|
||||
App\Email\NewsletterManagerInterface:
|
||||
factory: "@=arg(0).createNewsletterManager() ?: service("default_newsletter_manager")"
|
||||
factory: '@=arg(0).createNewsletterManager() ?: service("default_newsletter_manager")'
|
||||
arguments:
|
||||
- '@App\Email\NewsletterManagerFactory'
|
||||
|
||||
@@ -410,7 +410,7 @@ e.g. change the service based on a parameter:
|
||||
|
||||
<!-- you can use the arg() function to retrieve an argument from the definition -->
|
||||
<service id="App\Email\NewsletterManagerInterface">
|
||||
<factory expression="arg(0).createNewsletterManager() ?: service("default_newsletter_manager")"/>
|
||||
<factory expression="arg(0).createNewsletterManager() ?: service('default_newsletter_manager')"/>
|
||||
<argument type="service" id="App\Email\NewsletterManagerFactory"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
@@ -117,7 +117,7 @@ webhook consumer code.
|
||||
The webhook routing name is part of the URL you need to configure at the
|
||||
third-party mailer provider. The URL is the concatenation of your domain name
|
||||
and the routing name you chose in the configuration (like
|
||||
``https://example.com/webhook/mailer_mailgun``.
|
||||
``https://example.com/webhook/mailer_mailgun``).
|
||||
|
||||
For Mailgun, you will get a secret for the webhook. Store this secret as
|
||||
MAILER_MAILGUN_SECRET (in the :doc:`secrets management system
|
||||
|
||||
Reference in New Issue
Block a user