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.
1 parent b62ceca commit 14481fcCopy full SHA for 14481fc
book/service_container.rst
@@ -225,7 +225,10 @@ looks up the value of each parameter and uses it in the service definition.
225
.. note::
226
227
The percent sign inside a parameter or argument, as part of the string, must
228
- be escaped with another percent sign::
+ be escaped with another percent sign:
229
+
230
+ .. code-block:: xml
231
232
<argument type="string">http://symfony.com/?foo=%%s&bar=%%d</argument>
233
234
The purpose of parameters is to feed information into services. Of course
0 commit comments