Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | interface CollectionInterface extends \Iterator, \Countable |
||
9 | { |
||
10 | /** |
||
11 | * Checks whether the collection is empty. |
||
12 | * |
||
13 | * @return boolean |
||
14 | */ |
||
15 | public function isEmpty(); |
||
16 | |||
17 | /** |
||
18 | * Clears the collection of all elements. |
||
19 | * |
||
20 | * @return CollectionInterface |
||
21 | */ |
||
22 | public function clear(); |
||
23 | } |
||
24 |