src/PeekAndPoke/Aviator/AppBuilder/Util.php
public static function mapIdToCamelCase(string $id) : string
    {
        $id = preg_replace('/[^a-zA-Z0-9]+/', '_', $id);
        $id = preg_replace('/_{2,}/', '_', $id);

        $parts  = explode('_', $id);
        $result = '';

        foreach ($parts as $part) {
            $result .= ucfirst($part);
        }

        return $result;
    }
public static function mapIdToCamelCase(string $id) : string
    {
        $id = preg_replace('/[^a-zA-Z0-9]+/', '_', $id);
        $id = preg_replace('/_{2,}/', '_', $id);

        $parts  = explode('_', $id);
        $result = '';

        foreach ($parts as $part) {
            $result .= ucfirst($part);
        }

        return $result;
    }
@param string $id

@return string