LogoLogo
  • Introduction
  • What's New?
  • Upgrade Guide
  • Getting Started
    • Requirements
    • Installation
  • Defining Channels
    • Configuration
    • Retrieving Channels
  • Creating and Sending Notifications
    • Defining Notifications
    • Notifiables
    • Sending Notifications
  • Providers
    • DatabaseProvider
    • EmailProvider
    • SlackProvider
      • Slack BlockKit
    • Creating Custom Providers
  • Testing
    • Coming Soon
  • Reference
    • NotificationService
    • BaseNotification
    • SendsNotifications
    • INotifiable
    • BaseProvider
      • DatabaseProvider
        • DatabaseNotificationService
        • HasDatabaseNotifications
        • DatabaseNotificationCursor
        • DatabaseNotification
      • EmailProvider
      • SlackProvider
        • SlackMessage
          • EventMetadata
          • ActionsBlock
          • ContextBlock
          • DividerBlock
          • HeaderBlock
          • ImageBlock
          • SectionBlock
          • ButtonElement
          • ConfirmObject
          • ImageElement
          • TextObject
          • PlainTextOnlyTextObject
  • ForgeBox
  • GitHub
Powered by GitBook
On this page
  • Required Methods
  • getNotifiableId
  • getNotifiableType
  1. Reference

INotifiable

This is a required interface for any component that should be able to receive notifications in your application. Using the implements keyword is optional.

Required Methods

getNotifiableId

The id representing this Notifiable.

Name
Type
Required
Default
Description

No arguments

Return: (string) The Notifiable id.

getNotifiableType

The type of this Notifiable.

Name
Type
Required
Default
Description

No arguments

Return: (string) The Notifiable type.

PreviousSendsNotificationsNextBaseProvider

Last updated 1 year ago