public function getMimeType()
    {
        $mimetypeRepo = new PhpRepository();
        $path = $this->getPathFilename();

        return $mimetypeRepo->findType(pathinfo($path, PATHINFO_EXTENSION)) ?: 'application/octet-stream';
    }
public function getMimeType()
    {
        $mimetypeRepo = new PhpRepository();
        $path = $this->getPathFilename();

        return $mimetypeRepo->findType(pathinfo($path, PATHINFO_EXTENSION)) ?: 'application/octet-stream';
    }
public function getMimeType ( ) { $ mimetypeRepo = new PhpRepository ( ) ; $ path = $ this -> getPathFilename ( ) ; return $ mimetypeRepo -> findType ( pathinfo ( $ path , PATHINFO_EXTENSION ) ) ? : 'application/octet-stream' ; }
Gets the Mime Type.

@return string. Myme type. "application/octet-stream" by default
Gets the Mime Type .