src/Model/PushNotificationModel.php
public function sendAll($msg) : void
    {
        foreach ($this->subscriptionTable->findActive() as $row)
        {
            $this->sendNotification($row, $msg, false);
        }

        if ($flush)
        {
            $this->flush();
        }
    }
public function sendAll($msg) : void
    {
        foreach ($this->subscriptionTable->findActive() as $row)
        {
            $this->sendNotification($row, $msg, false);
        }

        if ($flush)
        {
            $this->flush();
        }
    }
public function sendAll ( $ msg ) : void { foreach ( $ this -> subscriptionTable -> findActive ( ) as $ row ) { $ this -> sendNotification ( $ row , $ msg , false ) ; } if ( $ flush ) { $ this -> flush ( ) ; } }
Send notification to all active subscriptions.
@param string $msg
Send notification to all active subscriptions .