Example #1
0
 /**
  * Return mime type.
  *
  * @return string
  */
 public final function mimeType()
 {
     return $this->file->mime()->type();
 }
 /**
  * Return MimeMap instance.
  *
  * @throws \SSD\File\Exception\NonExistentIndex
  *
  * @return string
  */
 public function type()
 {
     return MimeMap::byExtension($this->file->extension());
 }