PHP 클래스 Nette\Caching\Storages\DevNullStorage

상속: extends Nette\Object, implements Nette\Caching\IStorage
파일 보기 프로젝트 열기: nette/caching

공개 메소드들

메소드 설명
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.

메소드 상세

clean() 공개 메소드

Removes items from the cache by conditions & garbage collector.
public clean ( array $conditions ) : void
$conditions array
리턴 void

lock() 공개 메소드

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

read() 공개 메소드

Read from cache.
public read ( $key ) : mixed | null
리턴 mixed | null

remove() 공개 메소드

Removes item from the cache.
public remove ( $key ) : void
리턴 void

write() 공개 메소드

Writes item into the cache.
public write ( $key, $data, array $dependencies ) : void
$dependencies array
리턴 void