File::lastModified PHP 메소드

lastModified() 공개 정적인 메소드

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

Usage Example

예제 #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