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
OrderIdentifier
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
2
3namespace Apie\IntegrationTests\Apie\TypeDemo\Identifiers;
4
5use Apie\Core\Identifiers\AutoIncrementInteger;
6use Apie\Core\Identifiers\IdentifierInterface;
7use Apie\IntegrationTests\Apie\TypeDemo\Resources\Order;
8use ReflectionClass;
9
10/**
11 * @implements IdentifierInterface<Order>
12 */
13class OrderIdentifier extends AutoIncrementInteger implements IdentifierInterface
14{
15    public static function getReferenceFor(): ReflectionClass
16    {
17        return new ReflectionClass(Order::class);
18    }
19}