DatabaseNotificationCollection::map()

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

DatabaseNotificationCollection::makeVisible()

$this makeVisible(array|string $attributes) Make the given, typically hidden, attributes visible across the entire collection. Parameters array|string $attributes Return Value $this

DatabaseNotificationCollection::makeHidden()

$this makeHidden(array|string $attributes) Make the given, typically visible, attributes hidden across the entire collection. Parameters array|string $attributes Return Value $this

DatabaseNotificationCollection::make()

static Collection make(mixed $items = array()) Create a new collection instance if the value isn't one already. Parameters mixed $items Return Value Collection

DatabaseNotificationCollection::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

DatabaseNotificationCollection::load()

$this load(mixed $relations) Load a set of relationships onto the collection. Parameters mixed $relations Return Value $this

DatabaseNotificationCollection::last()

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

DatabaseNotificationCollection::keys()

Collection keys() Get the keys of the collection items. Return Value Collection

DatabaseNotificationCollection::keyBy()

Collection keyBy(callable|string $keyBy) Key an associative array by a field or using a callback. Parameters callable|string $keyBy Return Value Collection

DatabaseNotificationCollection::jsonSerialize()

array jsonSerialize() Convert the object into something JSON serializable. Return Value array