49 lines
938 B
YAML
49 lines
938 B
YAML
name: DatabaseNotificationCollection
|
|
class_comment: '# * @template TKey of array-key
|
|
|
|
# * @template TModel of DatabaseNotification
|
|
|
|
# *
|
|
|
|
# * @extends \Illuminate\Database\Eloquent\Collection<TKey, TModel>'
|
|
dependencies:
|
|
- name: Collection
|
|
type: class
|
|
source: Illuminate\Database\Eloquent\Collection
|
|
properties: []
|
|
methods:
|
|
- name: markAsRead
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * @template TKey of array-key
|
|
|
|
# * @template TModel of DatabaseNotification
|
|
|
|
# *
|
|
|
|
# * @extends \Illuminate\Database\Eloquent\Collection<TKey, TModel>
|
|
|
|
# */
|
|
|
|
# class DatabaseNotificationCollection extends Collection
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Mark all notifications as read.
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
- name: markAsUnread
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Mark all notifications as unread.
|
|
|
|
# *
|
|
|
|
# * @return void'
|
|
traits:
|
|
- Illuminate\Database\Eloquent\Collection
|
|
interfaces: []
|