class UserDeactivatedType implements TypeInterface (View source)

Constants

IDENTIFIER

Properties

protected Application $app The application we use to build dependencies
protected StandardNotifier $notifier The notifier we use to notify
protected SubscriptionInterface $defaultSubscription The default subscription to output
protected FilterInterface $defaultFilter The filter we output by default

Methods

__construct(Application $app, StandardNotifier $notifier, SubscriptionInterface $defaultSubscription = null, FilterInterface $defaultFilter = null)

No description

getAvailableSubscriptions()

Get available type subscriptions

getDefaultSubscription()

Get the default subscription object.

getSubscription(SubjectInterface $subject)

Get a subscription for a specific subject

createNotification(SubjectInterface $subject)

Create a notification for a specific subject

getAvailableFilters()

Get available notification filters

getNotifier()

Get the notifier this type should use

Details

__construct(Application $app, StandardNotifier $notifier, SubscriptionInterface $defaultSubscription = null, FilterInterface $defaultFilter = null)

Parameters

Application $app
StandardNotifier $notifier
SubscriptionInterface $defaultSubscription
FilterInterface $defaultFilter

SubscriptionInterface[] getAvailableSubscriptions()

Get available type subscriptions

Return Value

SubscriptionInterface[]

protected SubscriptionInterface getDefaultSubscription()

Get the default subscription object.

If one was not passed in at construct time create one now

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

FilterInterface[] getAvailableFilters()

Get available notification filters

Return Value

FilterInterface[]

NotifierInterface getNotifier()

Get the notifier this type should use

Return Value

NotifierInterface