@@ -49,6 +49,10 @@ discard block |
||
| 49 | 49 | }); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $title |
|
| 54 | + * @param string $message |
|
| 55 | + */ |
|
| 52 | 56 | static private function sendPushs($title, $message, $additionalData = '') |
| 53 | 57 | { |
| 54 | 58 | $clients = explode(';', config('app.gcm_clients')); |
@@ -58,6 +62,9 @@ discard block |
||
| 58 | 62 | //self::sendPushNotification($clients, $message, $title); |
| 59 | 63 | } |
| 60 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $additionalData |
|
| 67 | + */ |
|
| 61 | 68 | static private function sendPushNotification($to, $message, $title, $additionalData) |
| 62 | 69 | { |
| 63 | 70 | // replace API |