Namespaces

  • 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
  • PHP

Classes

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

Interfaces

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