Skip to content

Commit 7c2e66c

Browse files
committed
minor #8347 Updated expression language class example (robwasripped)
This PR was merged into the 3.3 branch. Discussion ---------- 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 Commits ------- 9541ec9 Updated expression language class example
2 parents f6140ff + 9541ec9 commit 7c2e66c

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)