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 ad38fcc commit 3e1e84cCopy full SHA for 3e1e84c
components/serializer.rst
@@ -1101,7 +1101,8 @@ always as a collection.
1101
1102
You may need to add some attributes on the root node. This can be done this way :
1103
1104
- .. code-block:: php
+ .. code-block:: PHP
1105
+
1106
<?php
1107
$encoder = new XmlEncoder();
1108
$encoder->encode([
@@ -1112,7 +1113,8 @@ always as a collection.
1112
1113
1114
This will generate the following XML :
1115
- .. code-block:: xml
1116
+ .. code-block:: XML
1117
1118
<?xml version="1.0"?>
1119
<response attribute1="foo" attribute2="bar">
1120
<foo bar="value">
0 commit comments