/** * Handle the command. * * @param UnfollowUserCommand $command * @return void */ public function handle(UnfollowUserCommand $command) { $user = $this->userRepo->findById($command->userId); $this->userRepo->unfollow($command->userIdToUnfollow, $user); }