original_string: protected function getValidationRule($inputName)
      {
          $rules = $this->getValidationRules();
  
          return is_array($rules[$inputName]) ? $rules[$inputName] : explode('|', $rules[$inputName]);
      }
code: protected function getValidationRule($inputName)
      {
          $rules = $this->getValidationRules();
  
          return is_array($rules[$inputName]) ? $rules[$inputName] : explode('|', $rules[$inputName]);
      }
code_tokens: protected function getValidationRule ( $ inputName ) { $ rules = $ this -> getValidationRules ( ) ; return is_array ( $ rules [ $ inputName ] ) ? $ rules [ $ inputName ] : explode ( '|' , $ rules [ $ inputName ] ) ; }
docstring: Returns validation rules for given input name.
  
  @param string $inputName
  @return array
docstring_tokens: Returns validation rules for given input name .