original_string: public function getValidator()
      {
          if (!$this->validator) {
              $this->validator = static::$validatorFactory->make(
                  [],
                  static::getCreateRules(),
                  static::getValidationMessages(),
                  static::getValidationAttributes()
              );
          }
  
          return $this->validator;
      }
code: public function getValidator()
      {
          if (!$this->validator) {
              $this->validator = static::$validatorFactory->make(
                  [],
                  static::getCreateRules(),
                  static::getValidationMessages(),
                  static::getValidationAttributes()
              );
          }
  
          return $this->validator;
      }
code_tokens: public function getValidator ( ) { if ( ! $ this -> validator ) { $ this -> validator = static :: $ validatorFactory -> make ( [ ] , static :: getCreateRules ( ) , static :: getValidationMessages ( ) , static :: getValidationAttributes ( ) ) ; } return $ this -> validator ; }
docstring: Get the validator instance.
  
  @return \Illuminate\Contracts\Validation\Validator
docstring_tokens: Get the validator instance .