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:
Christian Flothmann
2025-06-22 22:57:59 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -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