Exemple #1
0
 /**
  * Get the file size of a given file.
  *
  * @param string $path
  * @return int 
  * @static 
  */
 public static function size($path)
 {
     return \Illuminate\Filesystem\FilesystemAdapter::size($path);
 }
Exemple #2
0
 /**
  * Return the file size.
  *
  * @param $path
  *
  * @return int
  */
 public function fileSize($path)
 {
     return $this->disk->size($path);
 }