mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-04 18:16:05 -04:00
47 lines
1.4 KiB
PHP
47 lines
1.4 KiB
PHP
<?php
|
|
namespace Modules\JobPortalJob\Providers;
|
|
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
use Modules\JobPortalJob\Events\CandidateApplyJobSubmit;
|
|
use Modules\JobPortalJob\Events\CandidateDeleteApplied;
|
|
use Modules\JobPortalJob\Events\EmployerChangeApplicantsStatus;
|
|
use Modules\JobPortalJob\Listeners\SendMailApplyJobSubmitListener;
|
|
use Modules\JobPortalJob\Listeners\SendMailChangeApplicantsStatusListen;
|
|
use Modules\JobPortalJob\Listeners\SendNotifyApplyJobSubmitListener;
|
|
use Modules\JobPortalJob\Listeners\SendNotifyChangeApplicantsStatusListener;
|
|
use Modules\JobPortalJob\Listeners\SendNotifyDeleteAppliedListener;
|
|
|
|
class EventServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* The event listener mappings for the application.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $listen = [
|
|
CandidateApplyJobSubmit::class => [
|
|
SendNotifyApplyJobSubmitListener::class,
|
|
SendMailApplyJobSubmitListener::class
|
|
],
|
|
CandidateDeleteApplied::class => [
|
|
SendNotifyDeleteAppliedListener::class
|
|
],
|
|
EmployerChangeApplicantsStatus::class => [
|
|
SendNotifyChangeApplicantsStatusListener::class,
|
|
SendMailChangeApplicantsStatusListen::class
|
|
]
|
|
];
|
|
|
|
/**
|
|
* Register any events for your application.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
parent::boot();
|
|
|
|
//
|
|
}
|
|
}
|