LogoutJob   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10
c 2
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php namespace Cerbero\Auth\Jobs;
2
3
use Illuminate\Contracts\Auth\Guard;
4
use Illuminate\Contracts\Bus\SelfHandling;
5
6
class LogoutJob implements SelfHandling {
7
8
	/**
9
	 * Execute the job.
10
	 *
11
	 * @return void
12
	 */
13
	public function handle(Guard $auth)
14
	{
15
		$auth->logout();
16
	}
17
18
}
19