DatabaseNotificationCollection::put()

$this put(mixed $key, mixed $value) Put an item in the collection by key. Parameters mixed $key mixed $value Return Value $this

DatabaseNotificationCollection::push()

$this push(mixed $value) Push an item onto the end of the collection. Parameters mixed $value Return Value $this

DatabaseNotificationCollection::pull()

mixed pull(mixed $key, mixed $default = null) Get and remove an item from the collection. Parameters mixed $key mixed $default Return Value mixed

DatabaseNotificationCollection::prepend()

$this prepend(mixed $value, mixed $key = null) Push an item onto the beginning of the collection. Parameters mixed $value mixed $key Return Value $this

DatabaseNotificationCollection::pop()

mixed pop() Get and remove the last item from the collection. Return Value mixed

DatabaseNotificationCollection::pluck()

Collection pluck(string $value, string|null $key = null) Get an array with the values of a given key. Parameters string $value string|null $key Return Value Collection

DatabaseNotificationCollection::pipe()

mixed pipe(callable $callback) Pass the collection to the given callback and return the result. Parameters callable $callback Return Value mixed

DatabaseNotificationCollection::only()

Collection only(mixed $keys) Returns only the models from the collection with the specified keys. Parameters mixed $keys Return Value Collection

DatabaseNotificationCollection::offsetUnset()

void offsetUnset(string $key) Unset the item at a given offset. Parameters string $key Return Value void

DatabaseNotificationCollection::offsetSet()

void offsetSet(mixed $key, mixed $value) Set the item at a given offset. Parameters mixed $key mixed $value Return Value void