PHP Class Nette\Caching\Storages\DevNullStorage

Inheritance: extends Nette\Object, implements Nette\Caching\IStorage
Afficher le fichier Open project: nette/caching

Méthodes publiques

Méthode Description
clean ( array $conditions ) : void Removes items from the cache by conditions & garbage collector.
lock ( $key ) : void Prevents item reading and writing. Lock is released by write() or remove().
read ( $key ) : mixed | null Read from cache.
remove ( $key ) : void Removes item from the cache.
write ( $key, $data, array $dependencies ) : void Writes item into the cache.

Method Details

clean() public méthode

Removes items from the cache by conditions & garbage collector.
public clean ( array $conditions ) : void
$conditions array
Résultat void

lock() public méthode

Prevents item reading and writing. Lock is released by write() or remove().
public lock ( $key ) : void
Résultat void

read() public méthode

Read from cache.
public read ( $key ) : mixed | null
Résultat mixed | null

remove() public méthode

Removes item from the cache.
public remove ( $key ) : void
Résultat void

write() public méthode

Writes item into the cache.
public write ( $key, $data, array $dependencies ) : void
$dependencies array
Résultat void