private function underlineToUppercase($str)
    {
        $fnc = function ($matches) {
            return strtoupper($matches[1]);
        };
        $str = preg_replace_callback('/_+([a-z])/', $fnc, $str);
        return $str;
    }