RecoverJob   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A handle() 0 4 1
1
<?php namespace Cerbero\Auth\Jobs;
2
3
use Illuminate\Contracts\Bus\SelfHandling;
4
5
class RecoverJob implements SelfHandling {
6
7
	/**
8
	 * @author	Andrea Marco Sartori
9
	 * @var		string	$email	Email input.
10
	 */
11
	public $email;
12
13
	/**
14
	 * Create a new job instance.
15
	 *
16
	 * @return void
17
	 */
18
	public function __construct($email)
19
	{
20
		$this->email = $email;
21
	}
22
23
	/**
24
	 * Execute the job.
25
	 *
26
	 * @return void
27
	 */
28
	public function handle()
29
	{
30
		return str_random(10);
31
	}
32
33
}
34