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 collection of objects that can be individually
17: * accessed by index (ordered collection)
18: *
19: * @author David Grudl
20: * @package Nette\Collections
21: */
22: interface IList extends ICollection, ArrayAccess
23: {
24: function indexOf($item);
25: function insertAt($index, $item);
26: //function NArrayAccess::offsetSet($offset, $value);
27: //function NArrayAccess::offsetGet($offset);
28: //function NArrayAccess::offsetUnset($offset);
29: //function NArrayAccess::offsetExists($offset);
30: }
31: