/** * 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); }
/** * Return the file size. * * @param $path * * @return int */ public function fileSize($path) { return $this->disk->size($path); }