| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class SendMailJob extends Job implements ShouldQueue |
||
| 18 | { |
||
| 19 | use InteractsWithQueue, SerializesModels; |
||
|
|
|||
| 20 | |||
| 21 | /** @var int */ |
||
| 22 | public $tries = 3; |
||
| 23 | |||
| 24 | /** @var SendMail|null */ |
||
| 25 | protected $sendMail = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * SendMailJob constructor. |
||
| 29 | * |
||
| 30 | * @param SendMail $sendMail |
||
| 31 | */ |
||
| 32 | public function __construct(SendMail $sendMail) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Execute the job. |
||
| 41 | */ |
||
| 42 | public function handle() |
||
| 51 |