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