Total Complexity | 4 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Coverage | 27.78% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | class SecurityMail extends Mailable |
||
10 | { |
||
11 | use SerializesModels; |
||
12 | use Queueable; |
||
13 | |||
14 | protected $checkResult; |
||
15 | |||
16 | /** |
||
17 | * SecurityMail constructor. |
||
18 | * |
||
19 | * @param array $checkResult results from the Security Checker |
||
20 | */ |
||
21 | 3 | public function __construct($checkResult) |
|
24 | 3 | } |
|
25 | |||
26 | /** |
||
27 | * Build the message. |
||
28 | * |
||
29 | * @return $this |
||
30 | */ |
||
31 | public function build() |
||
43 | ]); |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | 3 | public function getCheckResult() |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * @param array $checkResult |
||
56 | */ |
||
57 | public function setCheckResult($checkResult) |
||
62 |