|
|
|
@ -16,8 +16,8 @@ class NotificationMapper
|
|
|
|
|
foreach ($data as $notificationData) {
|
|
|
|
|
$notification = new NotificationEntity();
|
|
|
|
|
|
|
|
|
|
if (isset($notificationData['idnotif'])) {
|
|
|
|
|
$notification->setIdNotif($notificationData['idnotif']);
|
|
|
|
|
if (isset($notificationData['idNotif'])) {
|
|
|
|
|
$notification->setIdNotif($notificationData['idNotif']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($notificationData['message'])) {
|
|
|
|
@ -36,8 +36,8 @@ class NotificationMapper
|
|
|
|
|
$notification->setUrgence($notificationData['urgence']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($notificationData['athleteid'])) {
|
|
|
|
|
$notification->setIdAthlete($notificationData['athleteid']);
|
|
|
|
|
if (isset($notificationData['athleteId'])) {
|
|
|
|
|
$notification->setIdAthlete($notificationData['athleteId']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$notificationEntities[] = $notification;
|
|
|
|
|