public static function toPreserveCase($name)
    {
        $params = explode('-', $name);
        $newName = [];
        foreach ($params as $param) {
            $newName[] = ucwords($param);
        }
        return implode('-', $newName);
    }