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
ObjectWithRelationIdentifier
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\Ulid;
6use Apie\IntegrationTests\Apie\TypeDemo\Resources\ObjectWithRelation;
7use ReflectionClass;
8
9/**
10 * @implements IdentifierInterface<ObjectWithRelation>
11 */
12final class ObjectWithRelationIdentifier extends Ulid implements IdentifierInterface
13{
14    public static function getReferenceFor(): ReflectionClass
15    {
16        return new ReflectionClass(ObjectWithRelation::class);
17    }
18}