Skip to content

Commit 77e3a00

Browse files
author
AndoniLarz
committed
[UPDATE] Add versionadded for cdata_wrapping option and fix CS
1 parent 082017b commit 77e3a00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/serializer.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,9 +1209,13 @@ Option Description
12091209
``cdata_wrapping`` If set to false, will not wrap any value ``true``
12101210
containing one of the following characters (
12111211
``<``, ``>``, ``&``) in `a CDATA section`_ like
1212-
following : ``<![CDATA[...]]>``
1212+
following: ``<![CDATA[...]]>``
12131213
============================== ================================================= ==========================
12141214

1215+
.. versionadded:: 6.4
1216+
1217+
The `cdata_wrapping` option was introduced in Symfony 6.4.
1218+
12151219
Example with custom ``context``::
12161220

12171221
use Symfony\Component\Serializer\Encoder\XmlEncoder;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy