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 Psr\Http\Message\UploadedFileInterface; |
9 | use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag; |
10 | |
11 | #[AutoconfigureTag(Serializer::class)] |
12 | interface DenormalizerInterface |
13 | { |
14 | public function supportsDenormalization(string|int|float|bool|null|ItemList|ItemHashmap|UploadedFileInterface $object, string $desiredType, ApieSerializerContext $apieSerializerContext): bool; |
15 | public function denormalize(string|int|float|bool|null|ItemList|ItemHashmap|UploadedFileInterface $object, string $desiredType, ApieSerializerContext $apieSerializerContext): mixed; |
16 | } |