tothimre/Pimple — comment on commit d7d5fc5c3ef55aa6652c442380f0106350c4dddb
File:  line 0
By tothimre:

Than let me put it this way:I think there are situations when you want to iterate through the elements of the container. The array access does not provide anything for this. If pimple is designed to be a standalone solution, it is ok, Sometimes it is wise to let people enable to extend the classes we made. Also The interface designed for pimple is perfect in a way that you cannot remove anything from it, I also would not make it more complicated, that's why I like it. I think it was wise tho enable children of this class have more control over internals. To enable developers who know how it works to extend it was not break the original idea. Anyway I will use pimple ;) my custom hack works as well does not do blackmagic ;)