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
|
@@ 537-539 (lines=3) @@
|
| 534 |
|
$this->title = $data['title']; |
| 535 |
|
} |
| 536 |
|
|
| 537 |
|
if (isset($data['description']) && $data['description'] !== null) { |
| 538 |
|
$this->description = $data['description']; |
| 539 |
|
} |
| 540 |
|
|
| 541 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 542 |
|
$this->jsonData = $data['jsonData']; |
|
@@ 549-551 (lines=3) @@
|
| 546 |
|
$this->distribution = $data['distribution']; |
| 547 |
|
} |
| 548 |
|
|
| 549 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 550 |
|
$this->type = $data['type']; |
| 551 |
|
} |
| 552 |
|
|
| 553 |
|
if (isset($data['family']) && $data['family'] !== null) { |
| 554 |
|
$this->family = $data['family']; |