| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function handle(CustomerContactAddedEvent $event) |
||
| 19 | { |
||
| 20 | $bookmarks = UserCustomerBookmark::where('cust_id', $event->cust->cust_id)->get()->pluck('user_id')->toArray(); |
||
| 21 | $userList = User::find($bookmarks); |
||
| 22 | |||
| 23 | Notification::send($userList, new NewContactNotification($event->cust)); |
||
| 24 | } |
||
| 26 |