| Total Complexity | 2 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class SendEmail implements ShouldQueue |
||
| 13 | { |
||
| 14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|
|||
| 15 | |||
| 16 | public $tries = 5; |
||
| 17 | protected $from; |
||
| 18 | protected $to; |
||
| 19 | protected $template_data; |
||
| 20 | protected $template_name; |
||
| 21 | protected $replace; |
||
| 22 | protected $type; |
||
| 23 | protected $bcc; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Create a new job instance. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function __construct($from, $to, $template_data, $template_name, $replace = [], $type = '', $bcc = []) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Execute the job. |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | public function handle(PhpMailController $phpMailController) |
||
| 61 |