EventServiceProvider::boot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php namespace Arcanedev\LaravelTracker\Providers;
2
3
use Arcanedev\Support\Providers\EventServiceProvider as ServiceProvider;
4
5
/**
6
 * Class     EventServiceProvider
7
 *
8
 * @package  Arcanedev\LaravelTracker\Providers
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class EventServiceProvider extends ServiceProvider
12
{
13
    /* -----------------------------------------------------------------
14
     |  Properties
15
     | -----------------------------------------------------------------
16
     */
17
18
    /**
19
     * The event listener mappings for the application.
20
     *
21
     * @var array
22
     */
23
    protected $listen = [
24
        //
25
    ];
26
27
    /**
28
     * The subscriber classes to register.
29
     *
30
     * @var array
31
     */
32
    protected $subscribe = [
33
        \Arcanedev\LaravelTracker\EventListeners\RouteEventSubscriber::class,
34
    ];
35
36
    /* -----------------------------------------------------------------
37
     |  Main Methods
38
     | -----------------------------------------------------------------
39
     */
40
41
    /**
42
     * Register the application's event listeners.
43
     */
44 117
    public function boot()
45
    {
46 117
        parent::boot();
47
48
        //
49 117
    }
50
}
51