Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
88 | 7 | private function __construct( |
|
89 | UuidInterface $uuid, |
||
90 | string $name, |
||
91 | ?string $etag = null, |
||
92 | ?DateTime $updatedAt = null, |
||
93 | ?UuidInterface $updatedBy = null, |
||
94 | ?DateTime $createdAt = null |
||
95 | ) { |
||
96 | 7 | $this->uuid = $uuid; |
|
97 | 7 | $this->name = $name; |
|
98 | 7 | $this->etag = $etag; |
|
99 | 7 | $this->updatedAt = $updatedAt; |
|
100 | 7 | $this->updatedBy = $updatedBy; |
|
101 | 7 | $this->createdAt = $createdAt; |
|
102 | 7 | } |
|
103 | } |
||
104 |