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 implements Nette\Caching\IStorage
17: {
18: use Nette\SmartObject;
19:
20: public function read($key)
21: {
22: }
23:
24:
25: public function lock($key)
26: {
27: }
28:
29:
30: public function write($key, $data, array $dependencies)
31: {
32: }
33:
34:
35: public function remove($key)
36: {
37: }
38:
39:
40: public function clean(array $conditions)
41: {
42: }
43: }
44: