Skip to content

Commit 9541ec9

Browse files
authored
Updated expression language class example
The class example has been updated to reflect the backslash escaping as described here: https://symfony.com/doc/current/components/expression_language/syntax.html
1 parent 6d25dbb commit 9541ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/expression_language.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ to another service: ``AppBundle\Mailer``. One way to do this is with an expressi
2828
AppBundle\Mail\MailerConfiguration: ~
2929
3030
AppBundle\Mailer:
31-
arguments: ["@=service('AppBundle\\Mail\\MailerConfiguration').getMailerMethod()"]
31+
arguments: ["@=service('AppBundle\\\\Mail\\\\MailerConfiguration').getMailerMethod()"]
3232
3333
.. code-block:: xml
3434

0 commit comments

Comments
 (0)