Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| OwnerIdType | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| className | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace App\Trip\Infrastructure\Persistence\Doctrine\Type; |
| 6 | |
| 7 | use App\Shared\Infrastructure\Persistence\Doctrine\Type\UuidType; |
| 8 | use App\Trip\Domain\ValueObject\OwnerId; |
| 9 | |
| 10 | /** |
| 11 | * @extends UuidType<OwnerId> |
| 12 | */ |
| 13 | final class OwnerIdType extends UuidType |
| 14 | { |
| 15 | public const NAME = 'owner_id'; |
| 16 | |
| 17 | protected function className(): string |
| 18 | { |
| 19 | return OwnerId::class; |
| 20 | } |
| 21 | } |