Changeset View
Changeset View
Standalone View
Standalone View
src/filesystem/Filesystem.php
Show First 20 Lines • Show All 378 Lines • ▼ Show 20 Lines | public static function changePermissions($path, $umask) { | ||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* Get the last modified time of a file | * Get the last modified time of a file | ||||
* | * | ||||
* @param string Path to file | * @param string Path to file | ||||
* @return Time last modified | * @return int Time last modified | ||||
* | * | ||||
* @task file | * @task file | ||||
*/ | */ | ||||
public static function getModifiedTime($path) { | public static function getModifiedTime($path) { | ||||
$path = self::resolvePath($path); | $path = self::resolvePath($path); | ||||
self::assertExists($path); | self::assertExists($path); | ||||
self::assertIsFile($path); | self::assertIsFile($path); | ||||
self::assertReadable($path); | self::assertReadable($path); | ||||
▲ Show 20 Lines • Show All 735 Lines • Show Last 20 Lines |