예제 #1
0
파일: AssetScheme.php 프로젝트: jivoo/http
 /**
  * Get MIME type of a file.
  * @param string $fileName File name or path.
  * @return string A MIME type.
  */
 public function getMimeType($fileName)
 {
     return $this->mimeTypes->getMimeType(\Jivoo\Utilities::getFileExtension($fileName));
 }