示例#1
0
 /**
  * Returns the default mime type known for the given extension.
  *
  * @see Honeybee\Common\Util\FileToolkit::guessExtensionByMimeType
  *
  * @param string $extension
  * @param string $fallback_mime_type mime_type to return when no match was found
  *
  * @return string mime-type for given extension or the provided fallback
  */
 public function guessMimeTypeByExtension($extension, $fallback_mime_type = '')
 {
     return FileToolkit::guessMimeTypeByExtension($extension, $fallback_mime_type);
 }