add $notificationId to every broadcast notification
This commit is contained in:
1 parent
ec76ca981a
commit
9fbc09017b
10 files changed
+33
-10
No files matched your search
@@ -18,18 +18,20 @@ class TaskDateUpdated implements ShouldBroadcastNow
|
||||
public $event;
|
||||
public $start;
|
||||
public $end;
|
||||
public $notificationId;
|
||||
protected $userId;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct($userId, Task $task, Event $event, $start, $end)
|
||||
public function __construct($userId, Task $task, Event $event, $start, $end, $notificationId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->task = $task;
|
||||
$this->event = $event;
|
||||
$this->start = $start;
|
||||
$this->end = $end;
|
||||
$this->notificationId = $notificationId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user