Метод | Описание | |
---|---|---|
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. |