src/Psr16/FileSystemCacheEngine.php 1 location
|
@@ 202-207 (lines=6) @@
|
199 |
|
$fileTtl = intval(file_get_contents("$fileKey.ttl")); |
200 |
|
} |
201 |
|
|
202 |
|
if (!empty($fileTtl) && time() >= $fileTtl) { |
203 |
|
$this->logger->info("[Filesystem cache] File too old. Ignoring '$key'"); |
204 |
|
$this->delete($key); |
205 |
|
|
206 |
|
return false; |
207 |
|
} |
208 |
|
|
209 |
|
return true; |
210 |
|
} |
src/Psr16/ShmopCacheEngine.php 1 location
|
@@ 109-113 (lines=5) @@
|
106 |
|
$fileTtl = intval(file_get_contents("$file.ttl")); |
107 |
|
} |
108 |
|
|
109 |
|
if (!empty($fileTtl) && time() >= $fileTtl) { |
110 |
|
$this->logger->info("[Shmop Cache] File too old. Ignoring"); |
111 |
|
$this->deleteFromFilenameToken($file); |
112 |
|
return false; |
113 |
|
} |
114 |
|
|
115 |
|
return true; |
116 |
|
} |