/** * Get the file's last modification time. * * @param string $path * @return int * @static */ public static function lastModified($path) { return \Illuminate\Filesystem\FilesystemAdapter::lastModified($path); }
/** * Return the last modified time. * * @param $path * * @return Carbon */ public function fileModified($path) { return Carbon::createFromTimestamp($this->disk->lastModified($path)); }