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: * @package Nette\Collections
11: */
12:
13:
14:
15: /**
16: * Represents a generic collection of key/value pairs.
17: *
18: * @author David Grudl
19: * @package Nette\Collections
20: */
21: interface IMap extends ICollection, ArrayAccess
22: {
23: function add($key, $value);
24: function search($item);
25: function getKeys();
26: //function NArrayAccess::offsetSet($offset, $value);
27: //function NArrayAccess::offsetGet($offset);
28: //function NArrayAccess::offsetUnset($offset);
29: //function NArrayAccess::offsetExists($offset);
30: }
31: