EventServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 27
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
1
<?php namespace App\Providers;
2
3
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
4
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
5
6
class EventServiceProvider extends ServiceProvider {
7
8
	/**
9
	 * The event handler mappings for the application.
10
	 *
11
	 * @var array
12
	 */
13
	protected $listen = [
14
		'event.name' => [
15
			'EventListener',
16
		],
17
	];
18
19
	/**
20
	 * Register any other events for your application.
21
	 *
22
	 * @param  \Illuminate\Contracts\Events\Dispatcher  $events
23
	 * @return void
24
	 */
25
	public function boot(DispatcherContract $events)
26
	{
27
		parent::boot($events);
28
29
		//
30
	}
31
32
}
33