DatabaseNotificationCollection::getCachingIterator()

CachingIterator getCachingIterator(int $flags = CachingIterator::CALL_TOSTRING) Get a CachingIterator instance. Parameters int $flags Return Value CachingIterator

DatabaseNotificationCollection::get()

mixed get(mixed $key, mixed $default = null) Get an item from the collection by key. Parameters mixed $key mixed $default Return Value mixed

DatabaseNotificationCollection::forPage()

Collection forPage(int $page, int $perPage) "Paginate" the collection by slicing it into a smaller collection. Parameters int $page int $perPage Return Value Collection

DatabaseNotificationCollection::forget()

$this forget(string|array $keys) Remove an item from the collection by key. Parameters string|array $keys Return Value $this

DatabaseNotificationCollection::flip()

Collection flip() Flip the items in the collection. Return Value Collection

DatabaseNotificationCollection::flatten()

Collection flatten(int $depth = INF) Get a flattened array of the items in the collection. Parameters int $depth Return Value Collection

DatabaseNotificationCollection::flatMap()

Collection flatMap(callable $callback) Map a collection and flatten the result by a single level. Parameters callable $callback Return Value Collection

DatabaseNotificationCollection::first()

mixed first(callable $callback = null, mixed $default = null) Get the first item from the collection. Parameters callable $callback mixed $default Return Value mixed

DatabaseNotificationCollection::find()

Model find(mixed $key, mixed $default = null) Find a model in the collection by key. Parameters mixed $key mixed $default Return Value Model

DatabaseNotificationCollection::filter()

Collection filter(callable $callback = null) Run a filter over each of the items. Parameters callable $callback Return Value Collection