NextDom\Managers\CacheManager
Class CacheManager
Synopsis
class CacheManager
{
- // members
- private static $cacheSystem = NULL;
- // methods
- public static bool set()
- public static array|null stats()
- public static FilesystemCache getDoctrineCache()
- public static RedisCache|null getCache()
- public static string getFolder()
- public static bool exist()
- public static bool exists()
- public static void flush()
- public static array search()
- public static void persist()
- public static string getArchivePath()
- public static bool isPersistOk()
- public static void restore()
- public static void clean()
- public static void delete()
- public static mixed byKey()
- public static void flushWidget()
Tasks
Line | Task |
---|---|
242+ | : Ouahhh |
Members
private
- $cacheSystem
Methods
public
- byKey() — Get stored object by key
- clean() — Remove old and unused item stored in cache
- delete() — Delete stored object in cache
- exist() — Test if object exists
- exists() — Test if object exists
- flush() — Clear cache
- flushWidget()
- getArchivePath()
- getCache() — Get cache system
- getDoctrineCache() — Get doctrine cache
- getFolder() — Get the folder where the cache is stored
- isPersistOk() — Test if cache already exists
- persist() — Persist cache system
- restore() — Restore persisted cache
- search()
- set() — Store object in cache
- stats() — Get some stats about the cache system