class StandardNotifier implements NotifierInterface (View source)

Properties

protected $entityManager

Methods

__construct(EntityManagerInterface $entityManager)

No description

User[]
getUsersToNotify(SubscriptionInterface $subscription, SubjectInterface $subject)

Get a list of users to notify

notify($users, Notification $notification)

No description

Details

__construct(EntityManagerInterface $entityManager)

Parameters

EntityManagerInterface $entityManager

User[] getUsersToNotify(SubscriptionInterface $subscription, SubjectInterface $subject)

Get a list of users to notify

Parameters

SubscriptionInterface $subscription
SubjectInterface $subject

Return Value

User[]

notify($users, Notification $notification)

Parameters

$users
Notification $notification