whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
Modules
/
Recruit
/
Listeners
/
Upload File:
files >> /home/kckglobal/www/portal/Modules/Recruit/Listeners/UpdateInterviewScheduleListener.php
<?php namespace Modules\Recruit\Listeners; use Modules\Recruit\Events\UpdateInterviewScheduleEvent; use Modules\Recruit\Notifications\RecruiterUpdateInterviewSchedule; use Modules\Recruit\Notifications\UpdateScheduleInterview; use Notification; class UpdateInterviewScheduleListener { /** * Create the event listener. * * @return void */ public function __construct() { // } /** * Handle the event. * * @param object $event * @return void */ public function handle(UpdateInterviewScheduleEvent $interview) { $recruiter = $interview->interview->jobApplication->job->recruiter; Notification::send($recruiter, new RecruiterUpdateInterviewSchedule($interview->interview)); Notification::send($interview->employee, new UpdateScheduleInterview($interview->interview)); } }
Copyright ©2021 || Defacer Indonesia