Completed
Push — master ( 70421f...8ae839 )
by ARCANEDEV
08:37
created

EventServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 31
rs 10
c 0
b 0
f 0
ccs 3
cts 3
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 1
1
<?php namespace Arcanedev\LaravelTracker\Providers;
2
3
use Event;
4
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
5
use Illuminate\Routing\Events\RouteMatched;
6
7
/**
8
 * Class     EventServiceProvider
9
 *
10
 * @package  Arcanedev\LaravelTracker\Providers
11
 * @author   ARCANEDEV <[email protected]>
12
 */
13
class EventServiceProvider extends ServiceProvider
14
{
15
    /* ------------------------------------------------------------------------------------------------
16
     |  Properties
17
     | ------------------------------------------------------------------------------------------------
18
     */
19
    /**
20
     * The event listener mappings for the application.
21
     *
22
     * @var array
23
     */
24
    protected $listen = [
25
        \Illuminate\Routing\Events\RouteMatched::class => [
26
            \Arcanedev\LaravelTracker\EventListeners\TrackMatchedRoute::class
27
        ],
28
    ];
29
30
    /* ------------------------------------------------------------------------------------------------
31
     |  Main Functions
32
     | ------------------------------------------------------------------------------------------------
33
     */
34
    /**
35
     * Register any events for your application.
36
     */
37 194
    public function boot()
38
    {
39 194
        parent::boot();
40
41
        //
42 66
    }
43
}
44