Fenos\Notifynder\NotifynderManager::bootListeners PHP Méthode

bootListeners() public méthode

Boot Listeners.
public bootListeners ( array $listeners )
$listeners array
    public function bootListeners(array $listeners)
    {
        $this->notifynderDispatcher->boot($listeners);
    }

Usage Example

 /**
  * Listen test listeners.
  */
 public function setUp()
 {
     parent::setUp();
     $this->dispatcher = app('notifynder');
     $this->laravelDispatcher = app('events');
     // Boot Listeners
     $this->dispatcher->bootListeners($this->listeners);
     // Create Users
     $this->to = $this->createUser();
     $this->from = $this->createUser();
     // Create Category
     $this->createCategory(['name' => 'activation']);
     $this->createCategory(['name' => 'confirmation']);
 }