File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1247,9 +1247,24 @@ These are the options available:
1247
1247
``xml_standalone ``
1248
1248
Adds standalone attribute in the generated XML (default: ``true ``).
1249
1249
1250
+ ``xml_type_cast_attributes ``
1251
+ This provides the ability to forgo the attribute type casting (default: ``true ``).
1252
+
1250
1253
``xml_root_node_name ``
1251
1254
Sets the root node name (default: ``response ``).
1252
1255
1256
+ ``as_collection ``
1257
+ Always returns results as a collection, even if only one line is decoded.
1258
+
1259
+ ``decoder_ignored_node_types ``
1260
+ Sets nodes to be ignored in the decode (default: ``[\XML_PI_NODE, \XML_COMMENT_NODE] ``).
1261
+
1262
+ ``encoder_ignored_node_types ``
1263
+ Sets nodes to be ignored in the encode (default: ``[] ``).
1264
+
1265
+ ``load_options ``
1266
+ XML loading `options with libxml `_ (default: ``\LIBXML_NONET | \LIBXML_NOBLANKS ``).
1267
+
1253
1268
``remove_empty_tags ``
1254
1269
If set to true, removes all empty tags in the generated XML (default: ``false ``).
1255
1270
@@ -1553,6 +1568,7 @@ Learn more
1553
1568
.. _YAML : https://yaml.org/
1554
1569
.. _CSV : https://tools.ietf.org/html/rfc4180
1555
1570
.. _`RFC 7807` : https://tools.ietf.org/html/rfc7807
1571
+ .. _`options with libxml` : https://www.php.net/manual/en/libxml.constants.php
1556
1572
.. _`UTF-8 BOM` : https://en.wikipedia.org/wiki/Byte_order_mark
1557
1573
.. _`Value Objects` : https://en.wikipedia.org/wiki/Value_object
1558
1574
.. _`API Platform` : https://api-platform.com
You can’t perform that action at this time.
0 commit comments