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 7b3a625 commit 8a6e042Copy full SHA for 8a6e042
components/serializer.rst
@@ -189,7 +189,7 @@ when constructing the normalizer::
189
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
190
$normalizer = new ObjectNormalizer($classMetadataFactory);
191
$serializer = new Serializer([$normalizer]);
192
- $person = $serializer->deserialize($data, 'Acme\Person', 'xml', [
+ $person = $serializer->deserialize($data, 'App\Model\Person', 'xml', [
193
'allow_extra_attributes' => false,
194
]);
195
0 commit comments