Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 4 | public static function create( |
|
22 | UuidInterface $uuid, |
||
23 | string $name, |
||
24 | string $etag = null, |
||
25 | DateTime $updatedAt = null, |
||
26 | UuidInterface $updatedBy = null, |
||
27 | DateTime $createdAt = null |
||
28 | ): self { |
||
29 | 4 | return new self( |
|
30 | 4 | $uuid, |
|
31 | 4 | $name, |
|
32 | 4 | $etag, |
|
33 | 4 | $updatedAt, |
|
34 | 4 | $updatedBy, |
|
35 | 4 | $createdAt |
|
36 | ); |
||
37 | } |
||
38 | |||
104 |