src/Entity/MemoryCard.php 1 location
|
@@ 327-329 (lines=3) @@
|
| 324 |
|
*/ |
| 325 |
|
public function populate($data = array()) |
| 326 |
|
{ |
| 327 |
|
if (isset($data['title']) && $data['title'] !== null) { |
| 328 |
|
$this->title = $data['title']; |
| 329 |
|
} |
| 330 |
|
|
| 331 |
|
if (isset($data['description']) && $data['description'] !== null) { |
| 332 |
|
$this->description = $data['description']; |
src/Entity/Prize.php 1 location
|
@@ 369-371 (lines=3) @@
|
| 366 |
|
$this->prizeContent = $data['prizeContent']; |
| 367 |
|
} |
| 368 |
|
|
| 369 |
|
if (isset($data['title']) && $data['title'] !== null) { |
| 370 |
|
$this->title = $data['title']; |
| 371 |
|
} |
| 372 |
|
|
| 373 |
|
if (isset($data['qty']) && $data['qty'] !== null) { |
| 374 |
|
$this->qty = $data['qty']; |
src/Entity/PrizeCategory.php 1 location
|
@@ 232-234 (lines=3) @@
|
| 229 |
|
*/ |
| 230 |
|
public function populate($data = array()) |
| 231 |
|
{ |
| 232 |
|
if (isset($data['title']) && $data['title'] !== null) { |
| 233 |
|
$this->title = $data['title']; |
| 234 |
|
} |
| 235 |
|
|
| 236 |
|
if (isset($data['identifier']) && $data['identifier'] !== null) { |
| 237 |
|
$this->identifier = $data['identifier']; |
src/Entity/TradingCardModel.php 1 location
|
@@ 522-524 (lines=3) @@
|
| 519 |
|
*/ |
| 520 |
|
public function populate($data = array()) |
| 521 |
|
{ |
| 522 |
|
if (isset($data['title']) && $data['title'] !== null) { |
| 523 |
|
$this->title = $data['title']; |
| 524 |
|
} |
| 525 |
|
|
| 526 |
|
if (isset($data['description']) && $data['description'] !== null) { |
| 527 |
|
$this->description = $data['description']; |