platform/api/laravel/Notifications/Notification.yaml
2024-09-02 10:44:11 -07:00

47 lines
1.1 KiB
YAML

name: Notification
class_comment: null
dependencies:
- name: SerializesModels
type: class
source: Illuminate\Queue\SerializesModels
- name: SerializesModels
type: class
source: SerializesModels
properties:
- name: id
visibility: public
comment: '# * The unique identifier for the notification.
# *
# * @var string'
- name: locale
visibility: public
comment: '# * The locale to be used when sending the notification.
# *
# * @var string|null'
methods:
- name: broadcastOn
visibility: public
parameters: []
comment: "# * The unique identifier for the notification.\n# *\n# * @var string\n\
# */\n# public $id;\n# \n# /**\n# * The locale to be used when sending the notification.\n\
# *\n# * @var string|null\n# */\n# public $locale;\n# \n# /**\n# * Get the channels\
\ the event should broadcast on.\n# *\n# * @return array"
- name: locale
visibility: public
parameters:
- name: locale
comment: '# * Set the locale to send this notification in.
# *
# * @param string $locale
# * @return $this'
traits:
- Illuminate\Queue\SerializesModels
- SerializesModels
interfaces: []