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
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

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

Interfaces

  • IJournal
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
 6:  */
 7: 
 8: namespace Nette\Caching\Storages;
 9: 
10: use Nette;
11: 
12: 
13: /**
14:  * Cache dummy storage.
15:  */
16: class DevNullStorage implements Nette\Caching\IStorage
17: {
18:     use Nette\SmartObject;
19: 
20:     /**
21:      * Read from cache.
22:      * @param  string key
23:      * @return mixed|NULL
24:      */
25:     public function read($key)
26:     {
27:     }
28: 
29: 
30:     /**
31:      * Prevents item reading and writing. Lock is released by write() or remove().
32:      * @param  string key
33:      * @return void
34:      */
35:     public function lock($key)
36:     {
37:     }
38: 
39: 
40:     /**
41:      * Writes item into the cache.
42:      * @param  string key
43:      * @param  mixed  data
44:      * @param  array  dependencies
45:      * @return void
46:      */
47:     public function write($key, $data, array $dependencies)
48:     {
49:     }
50: 
51: 
52:     /**
53:      * Removes item from the cache.
54:      * @param  string key
55:      * @return void
56:      */
57:     public function remove($key)
58:     {
59:     }
60: 
61: 
62:     /**
63:      * Removes items from the cache by conditions & garbage collector.
64:      * @param  array  conditions
65:      * @return void
66:      */
67:     public function clean(array $conditions)
68:     {
69:     }
70: 
71: }
72: 
Nette 2.4-20161109 API API documentation generated by ApiGen 2.8.0