public static function containsExtension(string $uri): string
    {
        $pathParts     = explode('/', $uri);
        $filename      = array_pop($pathParts);
        $filenameParts = explode('.', $filename);

        if (count($filenameParts) > 1) {
            return array_pop($filenameParts);
        }

        return '';
    }