PHP Class Cachearium\Backend\CacheAPC

Inheritance: extends Cachearium\CacheAbstract
Datei anzeigen Open project: corollarium/cachearium

Public Methods

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 )

Private Methods

Method Description
__construct ( ) Constructor.
checkValidArgs ( $base, $id, $sub )

Method Details

__clone() public method

Prevent users to clone the instance
public __clone ( )

clean() public method

public clean ( $base, $id )

clear() public method

public clear ( )

delete() public method

public delete ( $base, $id, $sub = LH_DEFAULT_CACHE_ID )

enable() public method

public enable ( )

get() public method

public get ( $base, $id, $sub = LH_DEFAULT_CACHE_ID )

prefetch() public method

public prefetch ( $data )

report() public method

public report ( )

singleton() public static method

Cache constructor (this is a singleton).
public static singleton ( ) : Cache
return Cache The cache singleton.

store() public method

public store ( $data, $base, $id, $sub = LH_DEFAULT_CACHE_ID, $lifetime )