From 2438195c08a117511bc699015c3706886445f4ba Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 1 Mar 2016 14:00:11 +1100 Subject: [PATCH] Push Notifications --- app/Services/PushService.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Services/PushService.php b/app/Services/PushService.php index c33859bc2474..00591e263323 100644 --- a/app/Services/PushService.php +++ b/app/Services/PushService.php @@ -59,6 +59,10 @@ class PushService /** + * pushMessage function + * + * method to dispatch iOS notifications + * * @param $invoice * @param $token * @param $type @@ -88,6 +92,10 @@ class PushService } /** + * messageType function + * + * method which formats an appropriate message depending on message type + * * @param $invoice * @param $type * @return string