SilverStripe\TextExtraction\Cache\FileTextCache\Cache
Uses SS_Cache with a lifetime to cache extracted content
Synopsis
class Cache
implements
FileTextCache,Flushable
{
- // members
- private static int|null $lifetime = NULL;
- // methods
- protected static CacheInterface get_cache()
- protected string getKey()
- public mixed load()
- public string save()
- public static void flush()
- public static void clear()
- public bool invalidate()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Implements
- SilverStripe\TextExtraction\Cache\FileTextCache
- SilverStripe\Core\Flushable
Members
private
- $lifetime
—
SilverStripe\TextExtraction\Cache\FileTextCache\int|null
Lifetime of cache in seconds Null is indefinite