Laravel 5 Collections: Filtering a Collection Based On Key Presence With whereNotIn
The whereNotIn method will return all of the items in a collection that do not have matching values (supplied via the $values parameter) for the provided $key . This method is capable of filtering collections of both arrays and objects. The...