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