original_string: public function getOptionNameFromDefinition($constant_name)
      {
          if ($this->strStartsWith($constant_name, "'") && $this->strEndsWith($constant_name, "'")) {
              return trim(trim($constant_name, "'")); // single quote
          } else {
              if ($this->strStartsWith($constant_name, '"') && $this->strEndsWith($constant_name, '"')) {
                  return trim(trim($constant_name, '"')); // double quote
              } else {
                  return $constant_name;
              }
          }
      }
code: public function getOptionNameFromDefinition($constant_name)
      {
          if ($this->strStartsWith($constant_name, "'") && $this->strEndsWith($constant_name, "'")) {
              return trim(trim($constant_name, "'")); // single quote
          } else {
              if ($this->strStartsWith($constant_name, '"') && $this->strEndsWith($constant_name, '"')) {
                  return trim(trim($constant_name, '"')); // double quote
              } else {
                  return $constant_name;
              }
          }
      }
code_tokens: public function getOptionNameFromDefinition ( $ constant_name ) { if ( $ this -> strStartsWith ( $ constant_name , "'" ) && $ this -> strEndsWith ( $ constant_name , "'" ) ) { return trim ( trim ( $ constant_name , "'" ) ) ; // single quote } else { if ( $ this -> strStartsWith ( $ constant_name , '"' ) && $ this -> strEndsWith ( $ constant_name , '"' ) ) { return trim ( trim ( $ constant_name , '"' ) ) ; // double quote } else { return $ constant_name ; } } }
docstring: Return config option name from defintiion string
  
  @param  string $constant_name
  @return string
docstring_tokens: Return config option name from defintiion string