src/InputController/HTTPController/LocalFileHTTPResponse.php
protected static function getMimetypeFromLocalFilePath($filePath) {
		$mimetype = getMimeType($filePath);
		if( $mimetype !== 'text/plain' ) {
			return $mimetype;
		}
		return static::getMimetypeFromExtension(pathinfo($filePath, PATHINFO_EXTENSION));
	}
protected static function getMimetypeFromLocalFilePath($filePath) {
		$mimetype = getMimeType($filePath);
		if( $mimetype !== 'text/plain' ) {
			return $mimetype;
		}
		return static::getMimetypeFromExtension(pathinfo($filePath, PATHINFO_EXTENSION));
	}
protected static function getMimetypeFromLocalFilePath ( $ filePath ) { $ mimetype = getMimeType ( $ filePath ) ; if ( $ mimetype !== 'text/plain' ) { return $ mimetype ; } return static :: getMimetypeFromExtension ( pathinfo ( $ filePath , PATHINFO_EXTENSION ) ) ; }
Get mimetype from local file path

@param string $filePath
@return string
Get mimetype from local file path