add information in task date updated notification
This commit is contained in:
1 parent
cf2a29a863
commit
d627afdeaf
2 files changed
+11
-2
No files matched your search
@@ -15,15 +15,21 @@ class TaskDateUpdated implements ShouldBroadcastNow
|
||||
use Dispatchable, InteractsWithSockets, SerializesModels;
|
||||
|
||||
public $task;
|
||||
public $event;
|
||||
public $start;
|
||||
public $end;
|
||||
protected $userId;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct($userId, Task $task)
|
||||
public function __construct($userId, Task $task, Event $event, $start, $end)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->task = $task;
|
||||
$this->event = $event;
|
||||
$this->start = $start;
|
||||
$this->end = $end;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user