EventMap
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 14
wmc 0
1
<?php
2
3
namespace Yadahan\AuthenticationLog;
4
5
trait EventMap
6
{
7
    /**
8
     * The Authentication Log event / listener mappings.
9
     *
10
     * @var array
11
     */
12
    protected $events = [
13
        'Illuminate\Auth\Events\Login' => [
14
            'Yadahan\AuthenticationLog\Listeners\LogSuccessfulLogin',
15
        ],
16
17
        'Illuminate\Auth\Events\Logout' => [
18
            'Yadahan\AuthenticationLog\Listeners\LogSuccessfulLogout',
19
        ],
20
    ];
21
}
22