Skip to content

Commit eb11b37

Browse files
committed
minor #15210 [Serializer] Document the csv_end_of_line option (javiereguiluz)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Serializer] Document the csv_end_of_line option Fixes #15146. Commits ------- f9c37de [Serializer] Document the csv_end_of_line option
2 parents 452ea2b + f9c37de commit eb11b37

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/serializer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ Option Description D
984984
``csv_delimiter`` Sets the field delimiter separating values (one ``,``
985985
character only)
986986
``csv_enclosure`` Sets the field enclosure (one character only) ``"``
987+
``csv_end_of_line`` Sets the character(s) used to mark the end of each ``\n``
988+
line in the CSV file
987989
``csv_escape_char`` Sets the escape character (at most one character) empty string
988990
``csv_key_separator`` Sets the separator for array's keys during its ``.``
989991
flattening
@@ -1000,6 +1002,10 @@ Option Description D
10001002
``output_utf8_bom`` Outputs special `UTF-8 BOM`_ along with encoded data ``false``
10011003
======================= ===================================================== ==========================
10021004

1005+
.. versionadded:: 5.3
1006+
1007+
The ``csv_end_of_line`` option was introduced in Symfony 5.3.
1008+
10031009
The ``XmlEncoder``
10041010
~~~~~~~~~~~~~~~~~~
10051011

0 commit comments

Comments
 (0)