src/ConfigFile.php
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;
            }
        }
    }
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;
            }
        }
    }
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 ; } } }
Return config option name from defintiion string

@param  string $constant_name
@return string
Return config option name from defintiion string