protected function MTimeProtectedFastFileStorage::getUncachedMTime

Clears PHP's stat cache and returns the directory's mtime.

1 call to MTimeProtectedFastFileStorage::getUncachedMTime()

File

drupal/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php, line 216
Definition of Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.

Class

MTimeProtectedFastFileStorage
Stores PHP code in files with securely hashed names.

Namespace

Drupal\Component\PhpStorage

Code

protected function getUncachedMTime($directory) {
  clearstatcache(TRUE, $directory);
  return filemtime($directory);
}