Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • DevNullStorage
  • FileStorage
  • MemcachedStorage
  • MemoryStorage
  • NewMemcachedStorage
  • SQLiteJournal
  • SQLiteStorage

Interfaces

  • IJournal
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class DevNullStorage

Cache dummy storage.

Nette\Caching\Storages\DevNullStorage implements Nette\Caching\IStorage uses Nette\SmartObject
Namespace: Nette\Caching\Storages
Located at Caching/Storages/DevNullStorage.php
Methods summary
public mixed
# read( string $key )

Read from cache.

Read from cache.

Parameters

$key

Returns

mixed
mixed

Implementation of

Nette\Caching\IStorage::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

Implementation of

Nette\Caching\IStorage::lock()
public
# write( string $key, mixed $data, array $dependencies )

Writes item into the cache.

Writes item into the cache.

Parameters

$key
$data
$dependencies

Implementation of

Nette\Caching\IStorage::write()
public
# remove( string $key )

Removes item from the cache.

Removes item from the cache.

Parameters

$key

Implementation of

Nette\Caching\IStorage::remove()
public
# clean( array $conditions )

Removes items from the cache by conditions.

Removes items from the cache by conditions.

Implementation of

Nette\Caching\IStorage::clean()
Methods used from Nette\SmartObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0