Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NCache
  • NDummyStorage
  • NFileStorage
  • NMemcachedStorage

Interfaces

  • ICacheStorage
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Interface ICacheStorage

Cache storage.

Direct known implementers

NDummyStorage, NFileStorage, NMemcachedStorage

Indirect known implementers

NTemplateCacheStorage
Package: Nette\Caching
Author: David Grudl
Located at Caching/ICacheStorage.php
Methods summary
public mixed|null
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key
string
key

Returns

mixed|null
public
# write( string $key, mixed $data, array $dependencies )

Writes item into the cache.

Writes item into the cache.

Parameters

$key
string
key
$data
mixed
data
$dependencies
array
dependencies
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key
string
key
public
# clean( array $conds )

Removes items from the cache by conditions.

Removes items from the cache by conditions.

Parameters

$conds
array
conditions
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0