| 1 | <?php |
||
| 7 | final class DeleteUserHandler |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var UserRepository |
||
| 11 | */ |
||
| 12 | private $userRepository; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * DeleteUserHandler constructor. |
||
| 16 | * |
||
| 17 | * @param UserRepository $userRepository |
||
| 18 | */ |
||
| 19 | public function __construct(UserRepository $userRepository) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param DeleteUser $command |
||
| 26 | */ |
||
| 27 | public function handle(DeleteUser $command) |
||
| 31 | } |
||
| 32 |