<?php

namespace App\Providers;
use App\Events\NewAnnouncement;
use App\Events\NewExamProgram;
use App\Events\NewGrade;
use App\Events\NewNote;
use App\Events\NewWeeklyProgram;
use App\Event\NewAttendees;
use App\Events\NewAttendees as EventsNewAttendees;
use App\Events\NewWorksheet;
use App\Events\TEST;
use App\Listeners\SendAnnouncemetNotification;
use App\Listeners\SendExamProgramNotification;
use App\Listeners\SendGradeNotification;
use App\Listeners\SendNoteNotification;
use App\Listeners\SendWeeklyProgramNotification;
use App\Listeners\SendWorksheetNotification;
use App\Listeners\SendAttendeesNotification;
use App\Listeners\TESTLISENER;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;



class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
     
    protected $listen = [
          
        Registered::class => [
            SendEmailVerificationNotification::class,
        ],
         EventsNewAttendees::class => [
            SendAttendeesNotification::class,
        ],
        NewNote::class => [
            SendNoteNotification::class,
        ],
        NewGrade::class => [
            SendGradeNotification::class,
        ],
        NewWorksheet::class => [
            SendWorksheetNotification::class,
        ],
        NewAnnouncement::class => [
            SendAnnouncemetNotification::class,
        ],
        NewExamProgram::class => [
            SendExamProgramNotification::class,
        ],
        NewWeeklyProgram::class => [
            SendWeeklyProgramNotification::class,
        ],       
    ];
      

    /**
     * Register any events for your application.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
