ResourceCheckerConfigCache
ResourceCheckerConfigCache
class ResourceCheckerConfigCache implements ConfigCacheInterface
ResourceCheckerConfigCache uses instances of ResourceCheckerInterface to check whether cached data is still fresh.
Methods
__construct(string $file, array $resourceCheckers = array()) | ||
string | getPath() Gets the cache file path. | |
bool | isFresh() Checks if the cache is still fresh. | |
write(string $content, array $metadata = null) Writes cache. |