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
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • DevNullStorage
  • FileJournal
  • FileStorage
  • MemcachedStorage
  • MemoryStorage
  • NewMemcachedStorage
  • 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: class DevNullStorage extends Nette\Object implements Nette\Caching\IStorage
17: {
18: 
19:     /**
20:      * Read from cache.
21:      * @param  string key
22:      * @return mixed|NULL
23:      */
24:     public function read($key)
25:     {
26:     }
27: 
28: 
29:     /**
30:      * Prevents item reading and writing. Lock is released by write() or remove().
31:      * @param  string key
32:      * @return void
33:      */
34:     public function lock($key)
35:     {
36:     }
37: 
38: 
39:     /**
40:      * Writes item into the cache.
41:      * @param  string key
42:      * @param  mixed  data
43:      * @param  array  dependencies
44:      * @return void
45:      */
46:     public function write($key, $data, array $dependencies)
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:      * Removes items from the cache by conditions & garbage collector.
63:      * @param  array  conditions
64:      * @return void
65:      */
66:     public function clean(array $conditions)
67:     {
68:     }
69: 
70: }
71: 
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0