public function getMimetype()
    {
        if (null === $this->mimetype) {
            $finfo = new \finfo(FILEINFO_MIME);
            $this->mimetype = $finfo->buffer($this->getContent());
        }

        return $this->mimetype;
    }
public function getMimetype()
    {
        if (null === $this->mimetype) {
            $finfo = new \finfo(FILEINFO_MIME);
            $this->mimetype = $finfo->buffer($this->getContent());
        }

        return $this->mimetype;
    }
public function getMimetype ( ) { if ( null === $ this -> mimetype ) { $ finfo = new \ finfo ( FILEINFO_MIME ) ; $ this -> mimetype = $ finfo -> buffer ( $ this -> getContent ( ) ) ; } return $ this -> mimetype ; }
Determine the mimetype of the blob.

@return string A mimetype
Determine the mimetype of the blob .