Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | namespace Apie\Serializer\Interfaces; |
3 | |
4 | use Apie\Core\Lists\ItemHashmap; |
5 | use Apie\Core\Lists\ItemList; |
6 | use Apie\Serializer\Context\ApieSerializerContext; |
7 | use Apie\Serializer\Serializer; |
8 | use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag; |
9 | |
10 | #[AutoconfigureTag(Serializer::class)] |
11 | interface NormalizerInterface |
12 | { |
13 | public function supportsNormalization(mixed $object, ApieSerializerContext $apieSerializerContext): bool; |
14 | public function normalize(mixed $object, ApieSerializerContext $apieSerializerContext): string|int|float|bool|null|ItemList|ItemHashmap; |
15 | } |