protected static function keyToMethodName($keyName, $capitalizeFirstCharacter = false)
    {
        $str = str_replace(' ', '', ucwords(str_replace('_', ' ', $keyName)));
        if (!$capitalizeFirstCharacter) {
            $str = lcfirst($str);
        }
        return $str;
    }
protected static function keyToMethodName($keyName, $capitalizeFirstCharacter = false)
    {
        $str = str_replace(' ', '', ucwords(str_replace('_', ' ', $keyName)));
        if (!$capitalizeFirstCharacter) {
            $str = lcfirst($str);
        }
        return $str;
    }
protected static function keyToMethodName ( $ keyName , $ capitalizeFirstCharacter = false ) { $ str = str_replace ( ' ' , '' , ucwords ( str_replace ( '_' , ' ' , $ keyName ) ) ) ; if ( ! $ capitalizeFirstCharacter ) { $ str = lcfirst ( $ str ) ; } return $ str ; }
Convert some_variable_name to someVariableName
@param string $keyName
@param bool $capitalizeFirstCharacter
@return string
Convert some_variable_name to someVariableName