| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | class EditFamilyLog implements CommandProtocol |
||
| 21 | { |
||
| 22 | private FamilyLogUuid $uuid; |
||
| 23 | private NameField $label; |
||
| 24 | private ?string $parentUuid; |
||
| 25 | |||
| 26 | public function __construct(FamilyLogUuid $uuid, NameField $label, ?string $parentUuid = null) |
||
| 27 | { |
||
| 28 | $this->uuid = $uuid; |
||
| 29 | $this->label = $label; |
||
| 30 | $this->parentUuid = $parentUuid; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function uuid(): FamilyLogUuid |
||
| 34 | { |
||
| 35 | return $this->uuid; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function label(): NameField |
||
| 39 | { |
||
| 40 | return $this->label; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function parent(): ?string |
||
| 46 | } |
||
| 47 | } |
||
| 48 |