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\ValueObjects\Interfaces; |
3 | |
4 | use UnitEnum; |
5 | |
6 | interface ValueObjectInterface |
7 | { |
8 | /** |
9 | * @return static |
10 | */ |
11 | public static function fromNative(mixed $input): self; |
12 | /** |
13 | * @return array<string|int, mixed>|string|int|float|bool|UnitEnum|null |
14 | */ |
15 | public function toNative(): array|string|int|float|bool|UnitEnum|null; |
16 | } |