1 | <?php namespace Modules\User\Commands\Handlers; |
||
8 | class CompleteResetProcessCommandHandler |
||
9 | { |
||
10 | protected $input; |
||
11 | /** |
||
12 | * @var UserRepository |
||
13 | */ |
||
14 | private $user; |
||
15 | /** |
||
16 | * @var Authentication |
||
17 | */ |
||
18 | private $auth; |
||
19 | |||
20 | public function __construct(UserRepository $user, Authentication $auth) |
||
25 | |||
26 | /** |
||
27 | * Handle the command |
||
28 | * |
||
29 | * @param $command |
||
30 | * @throws InvalidOrExpiredResetCode |
||
31 | * @throws UserNotFoundException |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function handle($command) |
||
46 | |||
47 | public function findUser() |
||
56 | } |
||
57 |