builder() public méthode

Get instance of the notifynder builder.
public builder ( ) : NotifynderBuilder
Résultat Fenos\Notifynder\Builder\NotifynderBuilder
 /**
  * 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);
     });
 }