@@ -69,7 +69,6 @@ discard block |
||
69 | 69 | * @param LoggerInterface|LogInterface $log |
70 | 70 | * @param string $cacheDirectory |
71 | 71 | * @param boolean $relativeToSystemTempDirectory |
72 | - * @param int $hashDepth |
|
73 | 72 | */ |
74 | 73 | function __construct($defaultTimeToLive, $log, $cacheDirectory, $relativeToSystemTempDirectory) |
75 | 74 | { |
@@ -263,6 +262,9 @@ discard block |
||
263 | 262 | return $dir.$subFolder; |
264 | 263 | } |
265 | 264 | |
265 | + /** |
|
266 | + * @param string $key |
|
267 | + */ |
|
266 | 268 | protected function getFileName($key) { |
267 | 269 | $subFolder = $this->getDirectory($key); |
268 | 270 | // Remove any "/" and ":" from the name, and replace those with "_" ... |
@@ -281,6 +283,9 @@ discard block |
||
281 | 283 | return $subFolder.md5($key).'.cache'; |
282 | 284 | } |
283 | 285 | |
286 | + /** |
|
287 | + * @param string $dir |
|
288 | + */ |
|
284 | 289 | private static function rrmdir($dir) { |
285 | 290 | if (is_dir($dir)) { |
286 | 291 | $objects = scandir($dir); |