Completed
Push — master ( 91f8d9...64265e )
by Mohamed
09:45 queued 06:57
created

EventServiceProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 23
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Tinyissue package.
5
 *
6
 * (c) Mohamed Alsharaf <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Tinyissue\Providers;
13
14
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
15
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
16
17
/**
18
 * EventServiceProvider is the events service provider for bootstrapping and registering the application event listeners.
19
 *
20
 * @author Mohamed Alsharaf <[email protected]>
21
 */
22
class EventServiceProvider extends ServiceProvider
23
{
24
    /**
25
     * The event handler mappings for the application.
26
     *
27
     * @var array
28
     */
29
    protected $listen = [
30
        'event.name' => [
31
            'EventListener',
32
        ],
33
    ];
34
35
    /**
36
     * Register any other events for your application.
37
     *
38
     * @param \Illuminate\Contracts\Events\Dispatcher $events
39
     */
40 59
    public function boot(DispatcherContract $events)
41
    {
42 59
        parent::boot($events);
43 59
    }
44
}
45