Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
OrderIdentifier | |
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\AutoIncrementInteger; |
6 | use Apie\Core\Identifiers\IdentifierInterface; |
7 | use Apie\IntegrationTests\Apie\TypeDemo\Resources\Order; |
8 | use ReflectionClass; |
9 | |
10 | /** |
11 | * @implements IdentifierInterface<Order> |
12 | */ |
13 | class OrderIdentifier extends AutoIncrementInteger implements IdentifierInterface |
14 | { |
15 | public static function getReferenceFor(): ReflectionClass |
16 | { |
17 | return new ReflectionClass(Order::class); |
18 | } |
19 | } |