EventServiceProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
1
<?php
2
3
/*
4
 * rmarchiv.tk
5
 * (c) 2016-2017 by Marcel 'ryg' Hering
6
 */
7
8
namespace App\Providers;
9
10
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
11
12
class EventServiceProvider extends ServiceProvider
13
{
14
    /**
15
     * The event listener mappings for the application.
16
     *
17
     * @var array
18
     */
19
    protected $listen = [
20
        'App\Events\GameView' => [
21
            'App\Listeners\GameViewListener',
22
        ],
23
24
        'App\Events\Obyx' => [
25
            'App\Listeners\ObyxListener',
26
        ],
27
    ];
28
29
    /**
30
     * Register any events for your application.
31
     *
32
     * @return void
33
     */
34
    public function boot()
35
    {
36
        parent::boot();
37
38
        //
39
    }
40
}
41