Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Cache
  • DummyStorage
  • FileStorage
  • MemcachedStorage

Interfaces

  • ICacheStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://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;
13: 
14: use Nette;
15: 
16: 
17: 
18: /**
19:  * Cache dummy storage.
20:  *
21:  * @author     David Grudl
22:  */
23: class DummyStorage extends Nette\Object implements ICacheStorage
24: {
25: 
26:     /**
27:      * Read from cache.
28:      * @param  string key
29:      * @return mixed|NULL
30:      */
31:     public function read($key)
32:     {
33:         return NULL;
34:     }
35: 
36: 
37: 
38:     /**
39:      * Writes item into the cache.
40:      * @param  string key
41:      * @param  mixed  data
42:      * @param  array  dependencies
43:      * @return void
44:      */
45:     public function write($key, $data, array $dp)
46:     {
47:     }
48: 
49: 
50: 
51:     /**
52:      * Removes item from the cache.
53:      * @param  string key
54:      * @return void
55:      */
56:     public function remove($key)
57:     {
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 $conds)
68:     {
69:     }
70: 
71: }
72: 
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0