| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Contact extends Mailable |
||
| 11 | { |
||
| 12 | use Queueable, SerializesModels; |
||
|
|
|||
| 13 | |||
| 14 | /** |
||
| 15 | * The details of the mail. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | public $details; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new message instance. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function __construct(array $details) |
||
| 27 | { |
||
| 28 | $this->details = $details; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Build the message. |
||
| 33 | * |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function build() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |