@@ -888,27 +888,27 @@ which defines the configuration options for the CsvEncoder an associative array:
888
888
889
889
These are the options available:
890
890
891
- ======================= ==================================================== ==========================
892
- Option Description Default
893
- ======================= ==================================================== ==========================
894
- ``csv_delimiter `` Sets the field delimiter separating values (one ``, ``
891
+ ======================= ===================================================== ==========================
892
+ Option Description Default
893
+ ======================= ===================================================== ==========================
894
+ ``csv_delimiter `` Sets the field delimiter separating values (one ``, ``
895
895
character only)
896
- ``csv_enclosure `` Sets the field enclosure (one character only) ``" ``
896
+ ``csv_enclosure `` Sets the field enclosure (one character only) ``" ``
897
897
``csv_escape_char `` Sets the escape character (at most one character)
898
- ``csv_key_separator `` Sets the separator for array's keys during its ``. ``
898
+ ``csv_key_separator `` Sets the separator for array's keys during its ``. ``
899
899
flattening
900
900
``csv_headers `` Sets the order of the header and data columns
901
901
E.g.: if ``$data = ['c' => 3, 'a' => 1, 'b' => 2] ``
902
902
and ``$options = ['csv_headers' => ['a', 'b', 'c']] ``
903
903
then ``serialize($data, 'csv', $options) `` returns
904
- ``a,b,c\n1,2,3 `` ``[] ``, inferred from input data's keys
905
- ``csv_escape_formulas `` Escapes fields containg formulas by prepending them ``false ``
904
+ ``a,b,c\n1,2,3 `` ``[] ``, inferred from input data's keys
905
+ ``csv_escape_formulas `` Escapes fields containg formulas by prepending them ``false ``
906
906
with a ``\t `` character
907
907
``as_collection `` Always returns results as a collection, even if only
908
908
one line is decoded.
909
- ``no_headers `` Disables header in the encoded CSV ``false ``
910
- ``output_utf8_bom `` Outputs special `UTF-8 BOM `_ along with encoded data ``false ``
911
- ======================= ==================================================== ==========================
909
+ ``no_headers `` Disables header in the encoded CSV ``false ``
910
+ ``output_utf8_bom `` Outputs special `UTF-8 BOM `_ along with encoded data ``false ``
911
+ ======================= ===================================================== ==========================
912
912
913
913
The ``XmlEncoder ``
914
914
~~~~~~~~~~~~~~~~~~
0 commit comments