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