| 1 | <?php namespace Cerbero\Auth\Jobs; |
||
| 8 | class ResetJob implements SelfHandling { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @author Andrea Marco Sartori |
||
| 12 | * @var string $password Password input. |
||
| 13 | */ |
||
| 14 | public $password; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @author Andrea Marco Sartori |
||
| 18 | * @var string $token Reset token. |
||
| 19 | */ |
||
| 20 | public $token; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new job instance. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __construct($password, $token) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Execute the job. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function handle(UserRepositoryInterface $users, Hasher $hasher) |
||
| 48 | |||
| 49 | } |
||
| 50 |