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