1 | <?php |
||
10 | trait ClosedOuterIteratorTrait |
||
11 | { |
||
12 | /** |
||
13 | * Remove access to the interface-defined getInnerIterator(), therefore |
||
14 | * enforcing immutability. |
||
15 | * |
||
16 | * @throws ClosedOuterIterator |
||
17 | */ |
||
18 | final public function getInnerIterator() |
||
23 | |||
24 | /** |
||
25 | * @param $msg The message in the exception. |
||
26 | */ |
||
27 | private function throwClosedOuterIterator($msg) |
||
31 | } |
||
32 |