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
AnimalIdentifier
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\Fixtures\Entities\Polymorphic;
3
4use Apie\Core\Identifiers\IdentifierInterface;
5use Apie\Core\Identifiers\UuidV4;
6use ReflectionClass;
7
8class AnimalIdentifier extends UuidV4 implements IdentifierInterface
9{
10    public static function getReferenceFor(): ReflectionClass
11    {
12        return new ReflectionClass(Animal::class);
13    }
14}