Ejemplo n.º 1
0
 /**
  * Set the deleted status of a list of notification records.
  *
  * @param int[] $ids
  * @param bool $isDeleted
  */
 protected function setDeleted(array $ids, $isDeleted)
 {
     Notification::whereIn('id', $ids)->update(['is_deleted' => $isDeleted]);
 }