Example #1
0
 /**
  * Get the file type of a given file.
  *
  * @param string $path
  * @return string 
  * @static 
  */
 public static function type($path)
 {
     return \Illuminate\Filesystem\Filesystem::type($path);
 }
 /**
  * Returns the type of file by the specified path
  *
  * @param $path
  * @return string
  */
 public function type($path)
 {
     return $this->storage->type($this->storagePath($path));
 }