Method | Description | |
---|---|---|
__clone ( ) | Prevent users to clone the instance | |
clean ( $base, $id ) | ||
clear ( ) | ||
delete ( $base, $id, $sub = LH_DEFAULT_CACHE_ID ) | ||
enable ( ) | ||
get ( $base, $id, $sub = LH_DEFAULT_CACHE_ID ) | ||
prefetch ( $data ) | ||
report ( ) | ||
singleton ( ) : Cache | Cache constructor (this is a singleton). | |
store ( $data, $base, $id, $sub = LH_DEFAULT_CACHE_ID, $lifetime ) |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
checkValidArgs ( $base, $id, $sub ) |
public static singleton ( ) : Cache | ||
return | Cache | The cache singleton. |