File::lastModified PHP Method

lastModified() public static method

Get the file's last modification time.
public static lastModified ( string $path ) : integer
$path string
return integer
        public static function lastModified($path)
        {
            return \Illuminate\Filesystem\Filesystem::lastModified($path);
        }

Usage Example

Exemplo n.º 1
0
 public function lastModified($path)
 {
     $view = $this->view($path);
     $path = $view->getPath();
     $timestamp = \File::lastModified($path);
     $carbon = Carbon::createFromTimestamp($timestamp);
     return $carbon;
 }
All Usage Examples Of File::lastModified