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;
9:
10:
11: /**
12: * Cache storage with a bulk read support.
13: */
14: interface IBulkReader
15: {
16:
17: /**
18: * Reads from cache in bulk.
19: * @return array key => value pairs, missing items are omitted
20: */
21: function bulkRead(array $keys);
22: }
23: