Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| UserAutoincrementIdentifier | |
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 | namespace Apie\Fixtures\Identifiers; |
| 3 | |
| 4 | use Apie\Core\Identifiers\AutoIncrementInteger; |
| 5 | use Apie\Core\Identifiers\IdentifierInterface; |
| 6 | use Apie\Fixtures\Entities\UserWithAutoincrementKey; |
| 7 | use ReflectionClass; |
| 8 | |
| 9 | class UserAutoincrementIdentifier extends AutoIncrementInteger implements IdentifierInterface |
| 10 | { |
| 11 | public static function getReferenceFor(): ReflectionClass |
| 12 | { |
| 13 | return new ReflectionClass(UserWithAutoincrementKey::class); |
| 14 | } |
| 15 | } |