8000
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.
1 parent 90797c3 commit 508a186Copy full SHA for 508a186
components/serializer.rst
@@ -258,14 +258,14 @@ for each format:
258
259
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
260
261
-* XML files::
+* YAML files::
262
263
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
264
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
265
266
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yml'));
267
268
-* YAML files::
+* XML files::
269
270
271
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;
0 commit comments