public function addMimeType(string $mimeType, string $extension): void
    {
        self::$supportedMimeTypes[$mimeType] = $extension;
    }
public function addMimeType(string $mimeType, string $extension): void
    {
        self::$supportedMimeTypes[$mimeType] = $extension;
    }
public function addMimeType ( string $ mimeType , string $ extension ) : void { self :: $ supportedMimeTypes [ $ mimeType ] = $ extension ; }
Add a new mime type with extension.

@param string $mimeType
@param string $extension

@return void
Add a new mime type with extension .