public function getMime()
    {
        if ($this->getRealPath()) {
            $finfo = new \finfo();
            return $finfo->file( $this->getRealPath(), FILEINFO_MIME_TYPE );
        }
        return null;
    }
public function getMime()
    {
        if ($this->getRealPath()) {
            $finfo = new \finfo();
            return $finfo->file( $this->getRealPath(), FILEINFO_MIME_TYPE );
        }
        return null;
    }
public function getMime ( ) { if ( $ this -> getRealPath ( ) ) { $ finfo = new \ finfo ( ) ; return $ finfo -> file ( $ this -> getRealPath ( ) , FILEINFO_MIME_TYPE ) ; } return null ; }
Get the file miem string if possible

@return  string  The mime type info
Get the file miem string if possible