Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| DomainObjectDto | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | namespace Apie\Maker\Dtos; |
| 3 | |
| 4 | use Apie\Core\BoundedContext\BoundedContextId; |
| 5 | use Apie\Core\Dto\DtoInterface; |
| 6 | use Apie\Core\Identifiers\PascalCaseSlug; |
| 7 | use Apie\Maker\Enums\IdType; |
| 8 | |
| 9 | final 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 | } |