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

EventServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 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