mini\Cache\FilesystemCache
class
Documentation
Filesystem-backed PSR-16 SimpleCache implementation
Stores cache data in serialized files with hashed filenames. Uses sys_get_temp_dir() for storage location.
Inheritance
Implements:
Psr\SimpleCache\CacheInterface
Properties (2)
private
string $cacheDir
private
string $prefix
Methods (16)
Documentation missing
Ensure cache directory exists
Get cache file path for key
Validate cache key
Calculate expiration timestamp from TTL
Read cache entry from file
Write cache entry to file
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Manually trigger garbage collection (remove expired entries)