EventServiceProvider.php 626 Bytes
Newer Older
1 2
<?php namespace App\Providers;

3
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
Taylor Otwell committed
4
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
5 6 7 8

class EventServiceProvider extends ServiceProvider {

	/**
9
	 * The event handler mappings for the application.
10 11 12
	 *
	 * @var array
	 */
13 14 15 16
	protected $listen = [
		'event.name' => [
			'EventListener',
		],
17 18
	];

Taylor Otwell committed
19 20 21
	/**
	 * Register any other events for your application.
	 *
22
	 * @param  \Illuminate\Contracts\Events\Dispatcher  $events
Taylor Otwell committed
23 24
	 * @return void
	 */
25
	public function boot(DispatcherContract $events)
Taylor Otwell committed
26
	{
Taylor Otwell committed
27 28
		parent::boot($events);

Taylor Otwell committed
29 30 31
		//
	}

32
}