Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class NewCandidateNotification extends Mailable |
||
11 | { |
||
12 | use Queueable; |
||
13 | |||
14 | /** |
||
15 | * @var Candidate |
||
16 | */ |
||
17 | public $candidate; |
||
18 | |||
19 | /** |
||
20 | * Create a new message instance. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | public function __construct(Candidate $candidate) |
||
25 | { |
||
26 | $this->candidate = $candidate; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Build the message. |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function build() |
||
35 | { |
||
36 | return $this |
||
37 | ->subject($this->getSubject()) |
||
38 | ->view('emails.new_candidate'); |
||
39 | //->attach($this->getCvPath()); |
||
40 | } |
||
41 | |||
42 | protected function getSubject() |
||
49 | } |
||
50 | |||
51 | protected function getCvPath() |
||
54 | } |
||
55 | } |
||
56 |