Метод |
Описание |
|
__construct ( Nette\Caching\IStorage $storage, $namespace = NULL ) |
|
|
bulkLoad ( array $keys, $fallback = NULL ) : array |
Reads multiple items from the cache. |
|
call ( $function ) : mixed |
Caches results of function/method calls. |
|
checkCallbacks ( $callbacks ) : boolean |
Checks CALLBACKS dependencies. |
|
clean ( array $conditions = NULL ) : void |
Removes items from the cache by conditions. |
|
derive ( $namespace ) : self |
Returns new nested cache object. |
|
getNamespace ( ) : string |
Returns cache namespace. |
|
getStorage ( ) : Nette\Caching\IStorage |
Returns cache storage. |
|
load ( $key, $fallback = NULL ) : mixed | null |
Reads the specified item from the cache or generate it. |
|
remove ( $key ) : void |
Removes item from the cache. |
|
save ( $key, $data, array $dependencies = NULL ) : mixed |
Writes item into the cache. |
|
start ( $key ) : OutputHelper | null |
Starts the output cache. |
|
wrap ( $function, array $dependencies = NULL ) : Closure |
Caches results of function/method calls. |
|