Attendize/app/Providers/EventServiceProvider.php

35 lines
754 B
PHP
Raw Normal View History

2016-03-05 00:18:10 +00:00
<?php
namespace App\Providers;
2016-02-29 15:59:36 +00:00
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2016-03-05 00:18:10 +00:00
class EventServiceProvider extends ServiceProvider
{
/**
* The event handler mappings for the application.
*
* @var array
*/
protected $listen = [
'App\Events\OrderCompletedEvent' => [
'App\Listeners\OrderCompletedListener',
2016-03-05 00:18:10 +00:00
],
];
2016-02-29 15:59:36 +00:00
2016-03-05 00:18:10 +00:00
/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
*
* @return void
*/
public function boot(DispatcherContract $events)
{
parent::boot($events);
2016-02-29 15:59:36 +00:00
2016-03-05 00:18:10 +00:00
//
}
2016-02-29 15:59:36 +00:00
}