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
|
@@ 566-568 (lines=3) @@
|
| 563 |
|
$this->question = $data['question']; |
| 564 |
|
} |
| 565 |
|
|
| 566 |
|
if (isset($data['hint']) && $data['hint'] !== null) { |
| 567 |
|
$this->hint = $data['hint']; |
| 568 |
|
} |
| 569 |
|
|
| 570 |
|
if (isset($data['jsonData']) && $data['jsonData'] !== null) { |
| 571 |
|
$this->jsonData = $data['jsonData']; |
|
@@ 574-576 (lines=3) @@
|
| 571 |
|
$this->jsonData = $data['jsonData']; |
| 572 |
|
} |
| 573 |
|
|
| 574 |
|
if (isset($data['type']) && $data['type'] !== null) { |
| 575 |
|
$this->type = $data['type']; |
| 576 |
|
} |
| 577 |
|
|
| 578 |
|
if (isset($data['position']) && $data['position'] !== null) { |
| 579 |
|
$this->position = $data['position']; |