public static function getExtensions(string $mime) : array
    {
        $extensions = [];

        foreach (static::$_types as $extension => $mimeType) {
            if ($mimeType === $mime) {
                $extensions[] = $extension;
            }
        }

        return $extensions;
    }