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