EventServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 2
nc 1
nop 0
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