We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7422020 + a07c50d commit 68973f7Copy full SHA for 68973f7
components/serializer.rst
@@ -270,14 +270,14 @@ for each format:
270
271
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
272
273
-* XML files::
+* YAML files::
274
275
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
276
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
277
278
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yaml'));
279
280
-* YAML files::
+* XML files::
281
282
283
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;
0 commit comments