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 da8025c commit 19fd8f7Copy full SHA for 19fd8f7
components/serializer.rst
@@ -1244,7 +1244,7 @@ This example shows how to serialize and deserialize those objects::
1244
$serialized = $serializer->serialize(new GitHubCodeRepository());
1245
// {"type": "github"}
1246
1247
- $repository = $serializer->unserialize($serialized, CodeRepository::class, 'json');
+ $repository = $serializer->deserialize($serialized, CodeRepository::class, 'json');
1248
// instanceof GitHubCodeRepository
1249
1250
If the class metadata factory is enabled as explained in the
0 commit comments