mini\Cache\TmpSqliteCache class

Documentation

SQLite-backed PSR-16 SimpleCache implementation for /tmp

Stores cache data in SQLite database in temporary directory. Lightweight alternative to DatabaseCache that doesn't require DatabaseInterface.

Inheritance

Implements: Psr\SimpleCache\CacheInterface

Properties (2)

private PDO $pdo
private string $tableName

Methods (13)

Documentation missing

Ensure the cache table exists

Validate cache key

Calculate expiration timestamp from TTL

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Manually trigger garbage collection (remove expired entries)

Source

src/Cache/TmpSqliteCache.php:13-216