Passed
Push — master ( 40d218...d516cb )
by James
09:17 queued 11s
created

EventServiceProvider::boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
declare(strict_types=1);
3
4
5
/**
6
 * EventServiceProvider.php
7
 * Copyright (c) 2020 [email protected]
8
 *
9
 * This file is part of the Firefly III CSV importer
10
 * (https://github.com/firefly-iii/csv-importer).
11
 *
12
 * This program is free software: you can redistribute it and/or modify
13
 * it under the terms of the GNU Affero General Public License as
14
 * published by the Free Software Foundation, either version 3 of the
15
 * License, or (at your option) any later version.
16
 *
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU Affero General Public License for more details.
21
 *
22
 * You should have received a copy of the GNU Affero General Public License
23
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
24
 */
25
26
namespace App\Providers;
27
28
use Illuminate\Auth\Events\Registered;
29
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
30
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
31
32
/**
33
 * Class EventServiceProvider
34
 */
35
class EventServiceProvider extends ServiceProvider
36
{
37
    /**
38
     * The event listener mappings for the application.
39
     *
40
     * @var array
41
     */
42
    protected $listen = [
43
        Registered::class => [
44
            SendEmailVerificationNotification::class,
45
        ],
46
    ];
47
48
}
49