src/File/FilesystemFile.php
public function getMimetype($force = false) {

		if(!isset($this->mimetype) || $force) {
			$this->mimetype = MimeTypeGetter::get($this->folder->getPath() . $this->filename);
		}
		return $this->mimetype;

	}
public function getMimetype($force = false) {

		if(!isset($this->mimetype) || $force) {
			$this->mimetype = MimeTypeGetter::get($this->folder->getPath() . $this->filename);
		}
		return $this->mimetype;

	}
public function getMimetype ( $ force = false ) { if ( ! isset ( $ this -> mimetype ) || $ force ) { $ this -> mimetype = MimeTypeGetter :: get ( $ this -> folder -> getPath ( ) . $ this -> filename ) ; } return $ this -> mimetype ; }
retrieve mime type
requires MimeTypeGetter

@param bool $force forces re-read of mime type
retrieve mime type requires MimeTypeGetter