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
2namespace Apie\Serializer\Interfaces;
3
4use Apie\Core\Lists\ItemHashmap;
5use Apie\Core\Lists\ItemList;
6use Apie\Serializer\Context\ApieSerializerContext;
7use Apie\Serializer\Serializer;
8use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
9
10#[AutoconfigureTag(Serializer::class)]
11interface 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}