Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

Interfaces

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class DevNullStorage

Cache dummy storage.

Object
Extended by DevNullStorage implements ICacheStorage
Package: Nette\Caching\Storages
Author: David Grudl
Located at Caching/Storages/DevNullStorage.php
Methods summary
public mixed|null
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key
string
key

Returns

mixed|null

Implementation of

ICacheStorage::read()
public
# lock( string $key )

Prevents item reading and writing. Lock is released by write() or remove().

Prevents item reading and writing. Lock is released by write() or remove().

Parameters

$key
string
key

Implementation of

ICacheStorage::lock()
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

Implementation of

ICacheStorage::write()
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key
string
key

Implementation of

ICacheStorage::remove()
public
# clean( array $conditions )

Removes items from the cache by conditions & garbage collector.

Removes items from the cache by conditions & garbage collector.

Parameters

$conditions
array
conditions

Implementation of

ICacheStorage::clean()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0