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
DomainObjectDto
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
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\Maker\Dtos;
3
4use Apie\Core\BoundedContext\BoundedContextId;
5use Apie\Core\Dto\DtoInterface;
6use Apie\Core\Identifiers\PascalCaseSlug;
7use Apie\Maker\Enums\IdType;
8
9final class DomainObjectDto implements DtoInterface
10{
11    public function __construct(
12        public PascalCaseSlug $name,
13        public BoundedContextId $boundedContextId,
14        public IdType $idType,
15        public bool $reuseExistingCode = true,
16    ) {
17    }
18}