From 1dda94733fe13075fd346da722b0f9332e83dbc8 Mon Sep 17 00:00:00 2001 From: Christian Kolb Date: Thu, 5 Dec 2024 12:04:44 +0100 Subject: [PATCH] Improve readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ecf2622..5182da6 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ $requestingUser->userId->mustNotBeEqualTo( ### Symfony serializer -If you're injecting the `SerializerInterface` directly, there is nothing to do. The normalizer from [`digital-craftsman/self-aware-normalizers`](https://github.com/digital-craftsman-de/self-aware-normalizers) are registered automatically and will handle the serialization and deserialization of the id as it implements the `StringNormalizable` interface. +If you're injecting the `SerializerInterface` directly, there is nothing to do. The normalizer from [`digital-craftsman/self-aware-normalizers`](https://github.com/digital-craftsman-de/self-aware-normalizers) are registered automatically and will handle the serialization and deserialization of the `Id` class, as it implements the `StringNormalizable` interface. ```php namespace App\DTO; @@ -226,7 +226,7 @@ $idsOfEnabledUsers->mustContainId( ### Symfony serializer -If you're injecting the `SerializerInterface` directly, there is nothing to do. The normalizer from [`digital-craftsman/self-aware-normalizers`](https://github.com/digital-craftsman-de/self-aware-normalizers) are registered automatically and will handle the serialization and deserialization of the id as it implements the `ArrayNormalizable` interface. +If you're injecting the `SerializerInterface` directly, there is nothing to do. The normalizer from [`digital-craftsman/self-aware-normalizers`](https://github.com/digital-craftsman-de/self-aware-normalizers) are registered automatically and will handle the serialization and deserialization of the `IdList` class, as it implements the `ArrayNormalizable` interface. ### Doctrine types