Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
UploadedFileIdentifier
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 getReferenceFor
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\IntegrationTests\Apie\TypeDemo\Identifiers;
3
4use Apie\Core\Identifiers\IdentifierInterface;
5use Apie\Core\Identifiers\UuidV4;
6use Apie\IntegrationTests\Apie\TypeDemo\Resources\UploadedFile;
7use ReflectionClass;
8
9/**
10 * @implements IdentifierInterface<UploadedFile>
11 */
12final class UploadedFileIdentifier extends UuidV4 implements IdentifierInterface
13{
14    public static function getReferenceFor(): ReflectionClass
15    {
16        return new ReflectionClass(UploadedFile::class);
17    }
18}