| 1 | <?php |
||
| 7 | final class ImmutableArrayStorage extends IteratorIterator |
||
| 8 | { |
||
| 9 | use \Shrikeh\Collection\NamedConstructorsTrait; |
||
| 10 | use \Shrikeh\Collection\ImmutableCollectionTrait; |
||
| 11 | use \Shrikeh\Collection\ClosedOuterIteratorTrait; |
||
| 12 | use \Shrikeh\Collection\OuterIteratorTrait; |
||
| 13 | use \Shrikeh\Collection\FixedArrayStorageTrait; |
||
| 14 | |||
| 15 | protected function append(SomeObject $object, $key) |
||
| 16 | { |
||
| 17 | $this->getStorage()->offsetSet($key, $object); |
||
| 18 | } |
||
| 19 | } |
||
| 20 |