Sunnysideup\AssetsOverview\Traits\Cacher
Synopsis
trait Cacher
{
- // members
- private static boolean $loadedFromCache = true;
- private static $cacheCache;
- // methods
- public static void loadedFromCache()
- public static void flushCache()
- protected static CacheInterface getCache()
- protected void setCacheValue()
- protected mixed getCacheValue()
- protected void hasCacheKey()
Hierarchy
Members
private
- $cacheCache
- $loadedFromCache
Methods
protected
public
- flushCache()
- loadedFromCache() — return false if the cache has been set or a cache key was not found.