Source for file IMap.php

Documentation is available at IMap.php

  1. 1: <?php
  2. 2:  
  3. 3: /**
  4. 4:  * Nette Framework
  5. 5:  *
  6. 6:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  7. 7:  * @license    http://nettephp.com/license  Nette license
  8. 8:  * @link       http://nettephp.com
  9. 9:  * @category   Nette
  10. 10:  * @package    Nette\Collections
  11. 11:  */
  12. 12:  
  13. 13:  
  14. 14:  
  15. 15: /**
  16. 16:  * Represents a generic collection of key/value pairs.
  17. 17:  *
  18. 18:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  19. 19:  * @package    Nette\Collections
  20. 20:  */
  21. 21: interface IMap extends ICollectionArrayAccess
  22. 22: {
  23. 23:     function add($key$value);
  24. 24:     function search($item);
  25. 25:     function getKeys();
  26. 26:     //function ArrayAccess::offsetSet($offset, $value);
  27. 27:     //function ArrayAccess::offsetGet($offset);
  28. 28:     //function ArrayAccess::offsetUnset($offset);
  29. 29:     //function ArrayAccess::offsetExists($offset);
  30. 30: }