src/PlaygroundGame/Entity/Prize.php 1 location
|
@@ 349-351 (lines=3) @@
|
| 346 |
|
$this->title = $data['title']; |
| 347 |
|
} |
| 348 |
|
|
| 349 |
|
if (isset($data['qty']) && $data['qty'] !== null) { |
| 350 |
|
$this->qty = $data['qty']; |
| 351 |
|
} |
| 352 |
|
|
| 353 |
|
if (isset($data['identifier']) && $data['identifier'] !== null) { |
| 354 |
|
$this->identifier = $data['identifier']; |
src/PlaygroundGame/Entity/QuizAnswer.php 1 location
|
@@ 347-349 (lines=3) @@
|
| 344 |
|
$this->jsonData = $data['jsonData']; |
| 345 |
|
} |
| 346 |
|
|
| 347 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 348 |
|
$this->type = $data['type']; |
| 349 |
|
} |
| 350 |
|
|
| 351 |
|
if (isset($data['position']) && $data['position'] !== null) { |
| 352 |
|
$this->position = $data['position']; |
src/PlaygroundGame/Entity/QuizQuestion.php 2 locations
|
@@ 567-569 (lines=3) @@
|
| 564 |
|
$this->question = $data['question']; |
| 565 |
|
} |
| 566 |
|
|
| 567 |
|
if (isset($data['hint']) && $data['hint'] !== null) { |
| 568 |
|
$this->hint = $data['hint']; |
| 569 |
|
} |
| 570 |
|
|
| 571 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 572 |
|
$this->jsonData = $data['jsonData']; |
|
@@ 575-577 (lines=3) @@
|
| 572 |
|
$this->jsonData = $data['jsonData']; |
| 573 |
|
} |
| 574 |
|
|
| 575 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 576 |
|
$this->type = $data['type']; |
| 577 |
|
} |
| 578 |
|
|
| 579 |
|
if (isset($data['position']) && $data['position'] !== null) { |
| 580 |
|
$this->position = $data['position']; |
src/PlaygroundGame/Entity/TradingCardModel.php 2 locations
|
@@ 519-521 (lines=3) @@
|
| 516 |
|
$this->title = $data['title']; |
| 517 |
|
} |
| 518 |
|
|
| 519 |
|
if (isset($data['description']) && $data['description'] !== null) { |
| 520 |
|
$this->description = $data['description']; |
| 521 |
|
} |
| 522 |
|
|
| 523 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 524 |
|
$this->jsonData = $data['jsonData']; |
|
@@ 531-533 (lines=3) @@
|
| 528 |
|
$this->distribution = $data['distribution']; |
| 529 |
|
} |
| 530 |
|
|
| 531 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 532 |
|
$this->type = $data['type']; |
| 533 |
|
} |
| 534 |
|
|
| 535 |
|
if (isset($data['family']) && $data['family'] !== null) { |
| 536 |
|
$this->family = $data['family']; |