Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ProcessResume implements ShouldQueue |
||
15 | { |
||
16 | use Dispatchable; |
||
17 | use InteractsWithQueue; |
||
18 | use Queueable; |
||
19 | use SerializesModels; |
||
|
|||
20 | |||
21 | /** |
||
22 | * @var Candidate |
||
23 | */ |
||
24 | protected $candidate; |
||
25 | |||
26 | protected $override; |
||
27 | |||
28 | /** |
||
29 | * Create a new job instance. |
||
30 | * |
||
31 | * @param Candidate $candidate |
||
32 | * @param bool $override |
||
33 | */ |
||
34 | public function __construct(Candidate $candidate, $override = false) |
||
35 | { |
||
36 | $this->candidate = $candidate; |
||
37 | $this->override = $override; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Execute the job. |
||
42 | * |
||
43 | * @throws \Exception |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | public function handle() |
||
59 | } |
||
60 | } |
||
63 |