Interface ICacheStorage (namespace Nette\Caching)


Cache storage.


Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Caching/ICacheStorage.php (line 21)
Public Method Summary
void
clean ($conds)
Removes items from the cache by conditions.
mixed|NULL
read (string $key)
Read from cache.
void
remove (string $key)
Removes item from the cache.
void
write (string $key, mixed $data, $dependencies)
Writes item into the cache.

Method Details

line 52

clean

public void clean ($conds)

Removes items from the cache by conditions.

Input
$conds conditions

line 29

read

public mixed|NULL read (string $key)

Read from cache.

Input
string $key key

line 45

remove

public void remove (string $key)

Removes item from the cache.

Input
string $key key

line 38

write

public void write (string $key, mixed $data, $dependencies)

Writes item into the cache.

Input
string $key key
mixed $data data
$dependencies dependencies