Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Libraries;
- use Carbon\Carbon;
- use Illuminate\Database\Eloquent\ModelNotFoundException;
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\DB;
- class PushNotificationLibrary
- {
- protected $request;
- protected $serverKey;
- protected $url;
- /**
- * Defining constructor
- */
- public function __construct(Request $request)
- {
- $this->request = $request;
- $this->serverKey = env('FCM_SERVER_KEY')
- $this->url = "https://android.googleapis.com/gcm/send";
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement