src/Listener/NotificationsListener.php
public function listen()
    {
        $notifications = $this->repository->findSendable()->toArray();

        foreach ($notifications as $notification) {
            $this->listenNotificationsEvents($notification);
        }
    }
public function listen()
    {
        $notifications = $this->repository->findSendable()->toArray();

        foreach ($notifications as $notification) {
            $this->listenNotificationsEvents($notification);
        }
    }
public function listen ( ) { $ notifications = $ this -> repository -> findSendable ( ) -> toArray ( ) ; foreach ( $ notifications as $ notification ) { $ this -> listenNotificationsEvents ( $ notification ) ; } }
Listening for notifications
Listening for notifications