| 1 | <?php namespace Anomaly\UsersModule\User\Password\Command; |
||
| 14 | class StartPasswordReset |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The user instance. |
||
| 19 | * |
||
| 20 | * @var UserInterface |
||
| 21 | */ |
||
| 22 | protected $user; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Create a new StartPasswordReset instance. |
||
| 26 | * |
||
| 27 | * @param UserInterface $user |
||
| 28 | */ |
||
| 29 | public function __construct(UserInterface $user) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Handle the command. |
||
| 36 | * |
||
| 37 | * @param UserRepositoryInterface $users |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function handle(UserRepositoryInterface $users) |
||
| 44 | } |
||
| 45 |