EventServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 25
rs 10
c 0
b 0
f 0

1 Method

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