protected function getSafeName($name)
    {
        if (strpos($name, '-') !== false) {
            $name = $this->getCamelCaseName($name);
        }

        return $name;
    }
protected function getSafeName($name)
    {
        if (strpos($name, '-') !== false) {
            $name = $this->getCamelCaseName($name);
        }

        return $name;
    }
protected function getSafeName ( $ name ) { if ( strpos ( $ name , '-' ) !== false ) { $ name = $ this -> getCamelCaseName ( $ name ) ; } return $ name ; }
Since hyphens cannot be used in variables we have to uppercase them.

Technically you may use them, but they are awkward to access.

@param string $name Property name

@return string Name without hyphen
Since hyphens cannot be used in variables we have to uppercase them .