interface TypeInterface (View source)

Methods

getAvailableSubscriptions()

Get available type subscriptions

getSubscription(SubjectInterface $subject)

Get a subscription for a specific subject

createNotification(SubjectInterface $subject)

Create a notification for a specific subject

getNotifier()

Get the notifier this type should use

getAvailableFilters()

Get available notification filters

Details

SubscriptionInterface[] getAvailableSubscriptions()

Get available type subscriptions

Return Value

SubscriptionInterface[]

SubscriptionInterface getSubscription(SubjectInterface $subject)

Get a subscription for a specific subject

Parameters

SubjectInterface $subject

Return Value

SubscriptionInterface

NotificationInterface createNotification(SubjectInterface $subject)

Create a notification for a specific subject

Parameters

SubjectInterface $subject

Return Value

NotificationInterface

NotifierInterface getNotifier()

Get the notifier this type should use

Return Value

NotifierInterface

FilterInterface[] getAvailableFilters()

Get available notification filters

Return Value

FilterInterface[]