Passed
Push — master ( 93055e...d6c727 )
by Mike
02:25
created

Logout   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
1
<?php namespace GeneaLabs\LaravelMixpanel\Listeners;
2
3
use GeneaLabs\LaravelMixpanel\Events\MixpanelEvent as Mixpanel;
4
use Illuminate\Auth\Events\Logout as LogoutEvent;
5
6
class Logout
7
{
8
    public function handle(LogoutEvent $logout)
9
    {
10
        event(new Mixpanel($logout->user, 'User Logged Out'));
11
    }
12
}
13