original_string: protected function _setName($value)
      {
          $value = strip_tags($value);
          $value = str_replace(["\n", "\r"], '', $value);
  
          return trim($value);
      }
code: protected function _setName($value)
      {
          $value = strip_tags($value);
          $value = str_replace(["\n", "\r"], '', $value);
  
          return trim($value);
      }
code_tokens: protected function _setName ( $ value ) { $ value = strip_tags ( $ value ) ; $ value = str_replace ( [ "\n" , "\r" ] , '' , $ value ) ; return trim ( $ value ) ; }
docstring: Removes any invalid characters from term's name.
  
  @param string $value Term's name
  @return string
docstring_tokens: Removes any invalid characters from term s name .