/**
 * Get the file's last modification time.
 *
 * @return int Returns the time the file was last modified.
 */
public function lastModified(): int

Examples

$result = $filesystem->file('/foo/1.txt')->lastModified();

Getting Started

Methods

Filesystem
File
Directory