| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class SendPasswordResetEmail implements ShouldQueue |
||
| 15 | { |
||
| 16 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var User |
||
| 20 | */ |
||
| 21 | private $user; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $newPass; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Create a new job instance. |
||
| 30 | */ |
||
| 31 | public function __construct(User $user, string $newPass) |
||
| 32 | { |
||
| 33 | $this->user = $user; |
||
| 34 | $this->newPass = $newPass; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Execute the job. |
||
| 39 | */ |
||
| 40 | public function handle(): void |
||
| 43 | } |
||
| 44 | } |
||
| 45 |