diff --git a/components/dependency_injection/parameters.rst b/components/dependency_injection/parameters.rst index 4e18fb1ffa0..fce88191716 100644 --- a/components/dependency_injection/parameters.rst +++ b/components/dependency_injection/parameters.rst @@ -337,6 +337,12 @@ Start the string with ``@`` or ``@?`` to reference a service in Yaml. * ``@?mailer`` references the ``mailer`` service. If the service does not exists, it will be ignored; +.. tip:: + + Use ``@@`` to escape the ``@`` symbol in Yaml. ``@@mailer`` will be + converted into the string ``"@mailer"`` instead of referencing the + ``mailer`` service. + Xml ~~~