/**
* Test send multiple notifications from
* the handler.
*
* @param NotifynderEvent $event
* @param NotifynderManager $notifynder
* @return $this
*/
public function userMultiple(NotifynderEvent $event, NotifynderManager $notifynder)
{
// Retrieve users
$users = [1, 2];
return $notifynder->builder()->loop($users, function (NotifynderBuilder $builder, $value, $key) {
return $builder->category('activation')->url('hello')->from(1)->to($value);
});
}