/
home
/
sditechnicalteam
/
www
/
app
/
Listeners
/
File Upload :
llllll
Current File: //home/sditechnicalteam/www/app/Listeners/ContractSignedListener.php
<?php namespace App\Listeners; use App\Models\User; use App\Events\ContractSignedEvent; use App\Notifications\ContractSigned; use Illuminate\Support\Facades\Notification; class ContractSignedListener { /** * Handle the event. * * @param \App\Events\ContractSignedEvent $event * @return void */ public function handle(ContractSignedEvent $event) { Notification::send(User::allAdmins($event->contract->company->id), new ContractSigned($event->contract, $event->contractSign)); } }
Copyright ©2k19 -
Hexid
|
Tex7ure