From 792756e43566554e44f12da40b23f647e756ee2d Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sun, 25 Aug 2013 14:47:59 +0200 Subject: [PATCH] Added tip --- components/dependency_injection/parameters.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 ~~~