DatabaseNotificationCollection::except()

Collection except(mixed $keys) Returns all models in the collection except the models with specified keys. Parameters mixed $keys Return Value Collection

DatabaseNotificationCollection::every()

Collection every(int $step, int $offset) Create a new collection consisting of every n-th element. Parameters int $step int $offset Return Value Collection

DatabaseNotificationCollection::each()

$this each(callable $callback) Execute a callback over each item. Parameters callable $callback Return Value $this

DatabaseNotificationCollection::diffKeys()

Collection diffKeys(mixed $items) Get the items in the collection whose keys are not present in the given items. Parameters mixed $items Return Value Collection

DatabaseNotificationCollection::diff()

Collection diff(mixed $items) Diff the collection with the given items. Parameters mixed $items Return Value Collection

DatabaseNotificationCollection::count()

int count() Count the number of items in the collection. Return Value int

DatabaseNotificationCollection::containsStrict()

bool containsStrict(mixed $key, mixed $value = null) Determine if an item exists in the collection using strict comparison. Parameters mixed $key mixed $value Return Value bool

DatabaseNotificationCollection::contains()

bool contains(mixed $key, mixed $value = null) Determine if a key exists in the collection. Parameters mixed $key mixed $value Return Value bool

DatabaseNotificationCollection::combine()

Collection combine(mixed $values) Create a collection by using this collection for keys and another for its values. Parameters mixed $values Return Value Collection

DatabaseNotificationCollection::collapse()

Collection collapse() Collapse the collection of items into a single array. Return Value Collection