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 2d66d80 + d5c97a0 commit a07c50dCopy full SHA for a07c50d
components/serializer.rst
@@ -254,14 +254,14 @@ for each format:
254
255
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
256
257
-* XML files::
+* YAML files::
258
259
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
260
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
261
262
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yaml'));
263
264
-* YAML files::
+* XML files::
265
266
267
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;
0 commit comments