Skip to content

Commit

Permalink
receivesBroadcastNotificationsOn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bagas Udi Sahsangka committed Sep 18, 2021
1 parent 08e682f commit 4668d95
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/Models/GateIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,14 @@ public function scopeActive($q)
{
return $q->where('status', 1);
}

/**
* The channels the user receives notification broadcasts on.
*
* @return string
*/
public function receivesBroadcastNotificationsOn()
{
return 'notification';
}
}
10 changes: 10 additions & 0 deletions app/Models/Kamera.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ public function scopeActive($q)
{
return $q->where('status', 1);
}

/**
* The channels the user receives notification broadcasts on.
*
* @return string
*/
public function receivesBroadcastNotificationsOn()
{
return 'notification';
}
}
10 changes: 10 additions & 0 deletions app/Models/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,14 @@ public function scopeActive($q)
{
return $q->where('status', 1);
}

/**
* The channels the user receives notification broadcasts on.
*
* @return string
*/
public function receivesBroadcastNotificationsOn()
{
return 'notification';
}
}

0 comments on commit 4668d95

Please sign in to comment.