File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,11 @@ Adding Normalizers and Encoders
9090-------------------------------
9191
9292Once enabled, the ``serializer `` service will be available in the container
93- and will be loaded with two :ref: `encoders <component-serializer-encoders >`
94- (:class: `Symfony\\ Component\\ Serializer\\ Encoder\\ JsonEncoder ` and
95- :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ XmlEncoder `) and the
93+ and will be loaded with four :ref: `encoders <component-serializer-encoders >`
94+ (:class: `Symfony\\ Component\\ Serializer\\ Encoder\\ JsonEncoder `,
95+ :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ XmlEncoder `,
96+ :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ YamlEncoder `, and
97+ :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ CsvEncoder `) and the
9698:ref: `ObjectNormalizer normalizer <component-serializer-normalizers >`.
9799
98100You can load normalizers and/or encoders by tagging them as
@@ -178,7 +180,7 @@ to your class and choose which groups to use when serializing::
178180 $someObject,
179181 'json', array('groups' => array('group1'))
180182 );
181-
183+
182184In addition to the ``@Groups `` annotation, the Serializer component also
183185supports Yaml or XML files. These files are automatically loaded when being
184186stored in one of the following locations:
You can’t perform that action at this time.
0 commit comments