code: protected function make(array $data)
      {
          $validator = $this->validatorFactory->make(
              $data,
              $this->getRules(),
              $this->getMessages(),
              $this->getAttributes()
          );
  
          $this->configureValidator($validator);
  
          return $validator;
      }
docs: Create a validator instance to validate the supplied data.
  
  @param array $data
  the data to validate.
  @return Validator