Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | namespace Apie\Core\Identifiers; |
3 | |
4 | use Apie\Core\Entities\EntityInterface; |
5 | use Apie\Core\ValueObjects\Interfaces\ValueObjectInterface; |
6 | use ReflectionClass; |
7 | |
8 | /** |
9 | * @template T of EntityInterface |
10 | */ |
11 | interface IdentifierInterface extends ValueObjectInterface |
12 | { |
13 | public function toNative(): string|int|null; |
14 | |
15 | /** |
16 | * @return ReflectionClass<T> |
17 | */ |
18 | public static function getReferenceFor(): ReflectionClass; |
19 | } |