/**
* Handle the event.
*
* @param HasSlackPayloadInterface $event
* @dispatches SlackNotify
*/
public function handle(HasSlackPayloadInterface $event)
{
foreach ($event->heartbeat->project->notifications as $notification) {
$this->dispatch(new SlackNotify($notification, $event->notificationPayload()));
}
}