LoggedOut   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 17
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php namespace App\Events\Users;
2
3
use App\Events\Event as EventAbstract;
4
use Illuminate\Contracts\Auth\Authenticatable;
5
6
class LoggedOut extends EventAbstract
7
{
8
    /**
9
     * @var array|\Illuminate\Contracts\Auth\Authenticatable
10
     */
11
    public $user;
12
13
    /**
14
     * @param \Illuminate\Contracts\Auth\Authenticatable|null $user
15
     */
16
    public function __construct(Authenticatable $user)
17
    {
18
        $this->user = $user;
19
20
        parent::__construct();
21
    }
22
}
23