Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
CompositeValueObjectWithOptionalFields
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2namespace Apie\Fixtures\ValueObjects;
3
4use Apie\Core\Attributes\Internal;
5use Apie\Core\Attributes\Optional;
6use Apie\Core\ValueObjects\CompositeValueObject;
7use Apie\Core\ValueObjects\Interfaces\ValueObjectInterface;
8
9class CompositeValueObjectWithOptionalFields implements ValueObjectInterface
10{
11    use CompositeValueObject;
12
13    private ?string $withDefaultValue = 'default value';
14
15    #[Optional]
16    private string $withOptionalAttribute;
17
18    #[Internal]
19    private ?string $isInternal = 'internal';
20
21    private static ?string $isStatic = 'static';
22}