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