PHP Class Cachearium\Backend\CacheNull

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

Public Methods

Method Description
__clone ( ) Prevent users to clone the instance
cleanP ( $base, $id )
clear ( )
delete ( CacheKey $k )
enable ( )
end ( $print = true )
get ( CacheKey $k )
increment ( $value, CacheKey $k, $default )
prefetch ( $data )
report ( )
singleton ( ) : Cache Cache constructor (this is a singleton).
start ( CacheKey $k, $lifetime = null, $print = true, $fail = false )
store ( $data, CacheKey $k, $lifetime )

Protected Methods

Method Description
hashKey ( CacheKey $k )

Private Methods

Method Description
__construct ( ) Constructor.

Method Details

__clone() public method

Prevent users to clone the instance
public __clone ( )

cleanP() public method

public cleanP ( $base, $id )

clear() public method

public clear ( )

delete() public method

public delete ( CacheKey $k )
$k Cachearium\CacheKey

enable() public method

public enable ( )

end() public method

public end ( $print = true )

get() public method

public get ( CacheKey $k )
$k Cachearium\CacheKey

hashKey() protected method

protected hashKey ( CacheKey $k )
$k Cachearium\CacheKey

increment() public method

public increment ( $value, CacheKey $k, $default )
$k Cachearium\CacheKey

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.

start() public method

public start ( CacheKey $k, $lifetime = null, $print = true, $fail = false )
$k Cachearium\CacheKey

store() public method

public store ( $data, CacheKey $k, $lifetime )
$k Cachearium\CacheKey