| 1 | <?php |
||
| 8 | class PasswordResetHandler |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var UserRepositoryCollection |
||
| 12 | */ |
||
| 13 | private $userRepositoryCollection; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * PasswordResetHandler constructor. |
||
| 17 | * |
||
| 18 | * @param UserRepositoryCollection $userRepositoryCollection |
||
| 19 | */ |
||
| 20 | public function __construct(UserRepositoryCollection $userRepositoryCollection) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param ResetPassword $command |
||
| 27 | * |
||
| 28 | * @throws InvalidPasswordConfirmationException |
||
| 29 | */ |
||
| 30 | public function handle(ResetPassword $command) |
||
| 45 | } |
||
| 46 |