/**
  * @param array $attributes
  * @return VisitorRepository
  * @throws InvalidArgumentException
  */
 public function updateOrCreate(array $attributes)
 {
     if (!is_array($attributes)) {
         throw new InvalidArgumentException('The attributes argument should be an array');
     }
     return $this->visitorRepository->updateOrCreate($attributes);
 }