protected function MTimeProtectedFastFileStorage::getUncachedMTime in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php \Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getUncachedMTime()
Clears PHP's stat cache and returns the directory's mtime.
1 call to MTimeProtectedFastFileStorage::getUncachedMTime()
- MTimeProtectedFastFileStorage::save in core/
lib/ Drupal/ Component/ PhpStorage/ MTimeProtectedFastFileStorage.php - Saves PHP code to storage.
File
- core/
lib/ Drupal/ Component/ PhpStorage/ MTimeProtectedFastFileStorage.php, line 216 - Contains \Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.
Class
- MTimeProtectedFastFileStorage
- Stores PHP code in files with securely hashed names.
Namespace
Drupal\Component\PhpStorageCode
protected function getUncachedMTime($directory) {
clearstatcache(TRUE, $directory);
return filemtime($directory);
}