suitmedia/suitcoda

View on GitHub
app/Providers/EventServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Suitcoda\Providers;

use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'Suitcoda\Events\ProjectWatcher' => [
            'Suitcoda\Listeners\CrawlerTheWebsite',
            'Suitcoda\Listeners\JobGenerator',
        ]
    ];

    /**
     * Register any other events for your application.
     *
     * @param  \Illuminate\Contracts\Events\Dispatcher  $events
     */
    public function boot(DispatcherContract $events)
    {
        parent::boot($events);

        //
    }
}