private function getRealMimeType()
    {
        $info = finfo_open(FILEINFO_MIME_TYPE);
        $mime = finfo_file($info, $this->temporaryFilename);
        finfo_close($info);
        return $mime;
    }
private function getRealMimeType()
    {
        $info = finfo_open(FILEINFO_MIME_TYPE);
        $mime = finfo_file($info, $this->temporaryFilename);
        finfo_close($info);
        return $mime;
    }
private function getRealMimeType ( ) { $ info = finfo_open ( FILEINFO_MIME_TYPE ) ; $ mime = finfo_file ( $ info , $ this -> temporaryFilename ) ; finfo_close ( $ info ) ; return $ mime ; }
Obtain the concrete mime type of uploaded file based signature. This
mime type should be used for security check instead of the one provided
in the HTTP request which could be spoofed.

@return string
Obtain the concrete mime type of uploaded file based signature . This mime type should be used for security check instead of the one provided in the HTTP request which could be spoofed .