| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | 9 | public static function create( |
|
| 55 | MiniGameId $gameId, |
||
| 56 | PlayerId $playerId, |
||
| 57 | PlayerOptions $playerOptions, |
||
| 58 | Context $context = null |
||
| 59 | ) { |
||
| 60 | 9 | $obj = new self(); |
|
| 61 | |||
| 62 | 9 | $obj->init($gameId, $playerId, $context); |
|
| 63 | |||
| 64 | 9 | $obj->playerOptions = $playerOptions; |
|
| 65 | |||
| 66 | 9 | return $obj; |
|
| 67 | } |
||
| 68 | } |
||
| 69 |