| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 56 | 81 | public static function create(PlayerId $playerId, MiniGameId $gameId, $name, $lives, $externalReference = null) |
|
| 57 | { |
||
| 58 | 81 | $obj = new self(); |
|
| 59 | |||
| 60 | 81 | $obj->init($playerId, $gameId, $name); |
|
| 61 | 81 | $obj->lives = $lives; |
|
| 62 | 81 | $obj->externalReference = $externalReference; |
|
| 63 | |||
| 64 | 81 | return $obj; |
|
| 65 | } |
||
| 66 | } |
||
| 67 |