<?php

namespace App\Providers;

use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'App\Events\Event' => [
            'App\Listeners\EventListener',
        ],
        'Laravelista\Comments\Events\CommentWasPosted' => [
            'App\Listeners\SendEmailToUsersWhoCommentedOnGivenContent',
        ],
        'App\Events\CreateTask' => [
            'App\Listeners\CreateTaskListener',
        ],
        'App\Events\UpdateTask' => [
            'App\Listeners\UpdateTaskListener',
        ],
        'App\Events\CreateTags' => [
            'App\Listeners\CreateTagsListener',
        ],
        'App\Events\TaskStatusChange'=>[
            'App\Listeners\TaskStatusChangeListener',
        ],
        'App\Events\CreateUnTag'=>[
        'App\Listeners\CreateUnTagListener',
        ],
        'App\Events\CreateSubtask' => [
            'App\Listeners\CreateSubtaskListener',
        ],
        'App\Events\SubtaskStatusChange'=>[
            'App\Listeners\SubtaskStatusChangeListener',
        ],
        'App\Events\CreateAttach'=>[
            'App\Listeners\CreateAttachListener',
        ],
        'App\Events\CreateProfile'=>[
            'App\Listeners\CreateProfileListener',
        ],
        'App\Events\TaskInactive'=>[
            'App\Listeners\TaskInactiveListener',
        ],

    ];


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

        //
    }
}
