NotificationPayloadInterface
Interface for notification payloads. Defines the contract for notification data that can be sent through channels.
NotificationPayloadInterface::getType()
abstract public function getType(): stringGet the notification type.
Returns
Type identifier (e.g., 'action_result', 'alert', 'report')
NotificationPayloadInterface::getTitle()
abstract public function getTitle(): stringGet the notification title.
NotificationPayloadInterface::getData()
abstract public function getData(): arrayGet the notification data.
NotificationPayloadInterface::getTemplate()
abstract public function getTemplate(): ?stringGet optional template name for custom rendering.
NotificationPayloadInterface::getMetadata()
abstract public function getMetadata(): arrayGet additional metadata.