Packages

  • 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

Classes

Interfaces

  • Overview
  • Package
  • 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 (http://davidgrudl.com)
 6:  * @package Nette\Caching\Storages
 7:  */
 8: 
 9: 
10: 
11: /**
12:  * Cache dummy storage.
13:  *
14:  * @author     David Grudl
15:  * @package Nette\Caching\Storages
16:  */
17: class NDevNullStorage extends NObject implements ICacheStorage
18: {
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 Framework 2.0.18 (for PHP 5.2, prefixed) API documentation generated by ApiGen 2.8.0