/**
  * @param User $user
  * @return bool
  */
 public function reminding(User $user)
 {
     if (!$user->isPlayer()) {
         return false;
     }
     return AuctionReminder::where('auction_id', $this->id)->where('player_id', $user->player_id)->get()->count() != 0;
 }
 /**
  * Deletes all the entities from the repository
  *
  * @return mixed
  */
 public function clear()
 {
     User::all()->each(function ($user) {
         $user->delete();
     });
 }