1: <?php
2: /**
3: * PHP version 5
4: * @package generalDriver
5: * @author Christian Schiffler <c.schiffler@cyberspectrum.de>
6: * @author Stefan Heimes <stefan_heimes@hotmail.com>
7: * @author Tristan Lins <tristan.lins@bit3.de>
8: * @copyright The MetaModels team.
9: * @license LGPL.
10: * @filesource
11: */
12:
13: namespace DcGeneral\Data;
14:
15: use DcGeneral\Exception\DcGeneralRuntimeException;
16:
17: /**
18: * This represents an iterable collection of Model elements.
19: */
20: interface LanguageInformationCollectionInterface
21: extends \IteratorAggregate, \Countable
22: {
23: /**
24: * Append a language to this collection.
25: *
26: * @param LanguageInformationInterface $language The language information to add.
27: *
28: * @return LanguageInformationCollectionInterface
29: */
30: public function add(LanguageInformationInterface $language);
31: }
32: