How to remove duplicates in collection?

前端 未结 3 1690
逝去的感伤
逝去的感伤 2021-02-12 11:56

I have collection in Laravel:

Collection {#450 ▼
  #items: array:2 [▼
    0 => Announcement {#533 ▶}
    1 => Announcement {#553 ▶}
  ]
}

3条回答
提交回复
热议问题