original_string: protected function registerValidation(string $name, string $class, $data = null)
      {
          $this->validationRegister[$name] = $class;
          $this->validationData[$name] = $data;
      }
code: protected function registerValidation(string $name, string $class, $data = null)
      {
          $this->validationRegister[$name] = $class;
          $this->validationData[$name] = $data;
      }
code_tokens: protected function registerValidation ( string $ name , string $ class , $ data = null ) { $ this -> validationRegister [ $ name ] = $ class ; $ this -> validationData [ $ name ] = $ data ; }
docstring: Register a validation type.
  
  @param string $name The name of the validation to be used in validation descriptions.
  @param string $class The name of the validation class to load.
  @param mixed $data Any extra validation data that would be necessary for the validation.
docstring_tokens: Register a validation type .