| Total Complexity | 7 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class ContactMail extends Mailable |
||
| 10 | { |
||
| 11 | use Queueable; |
||
| 12 | use SerializesModels; |
||
|
|
|||
| 13 | |||
| 14 | public $firstname; |
||
| 15 | public $lastname; |
||
| 16 | public $phone; |
||
| 17 | public $email; |
||
| 18 | public $messageLines; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a new message instance. |
||
| 22 | * |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function __construct($validatedData) |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Build the message. |
||
| 36 | * |
||
| 37 | * @return $this |
||
| 38 | */ |
||
| 39 | public function build() |
||
| 44 |