Namespaces

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

Classes

  • DevNullStorage
  • FileJournal
  • FileStorage
  • MemcachedStorage
  • MemoryStorage
  • PhpFileStorage
  • SQLiteStorage

Interfaces

  • IJournal
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage
 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:  * @author     David Grudl
17:  */
18: class DevNullStorage extends Nette\Object implements Nette\Caching\IStorage
19: {
20: 
21:     /**
22:      * Read from cache.
23:      * @param  string key
24:      * @return mixed|NULL
25:      */
26:     public function read($key)
27:     {
28:     }
29: 
30: 
31:     /**
32:      * Prevents item reading and writing. Lock is released by write() or remove().
33:      * @param  string key
34:      * @return void
35:      */
36:     public function lock($key)
37:     {
38:     }
39: 
40: 
41:     /**
42:      * Writes item into the cache.
43:      * @param  string key
44:      * @param  mixed  data
45:      * @param  array  dependencies
46:      * @return void
47:      */
48:     public function write($key, $data, array $dependencies)
49:     {
50:     }
51: 
52: 
53:     /**
54:      * Removes item from the cache.
55:      * @param  string key
56:      * @return void
57:      */
58:     public function remove($key)
59:     {
60:     }
61: 
62: 
63:     /**
64:      * Removes items from the cache by conditions & garbage collector.
65:      * @param  array  conditions
66:      * @return void
67:      */
68:     public function clean(array $conditions)
69:     {
70:     }
71: 
72: }
73: 
Nette 2.1 API documentation generated by ApiGen 2.8.0