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.
2 parents e8a6963 + 792756e commit ab5526fCopy full SHA for ab5526f
components/dependency_injection/parameters.rst
@@ -337,6 +337,12 @@ Start the string with ``@`` or ``@?`` to reference a service in Yaml.
337
* ``@?mailer`` references the ``mailer`` service. If the service does not
338
exists, it will be ignored;
339
340
+.. tip::
341
+
342
+ Use ``@@`` to escape the ``@`` symbol in Yaml. ``@@mailer`` will be
343
+ converted into the string ``"@mailer"`` instead of referencing the
344
+ ``mailer`` service.
345
346
Xml
347
~~~
348
0 commit comments