There's a lot of functionality within the collections classes that could be moved into traits (and would make much more sense as traits). Make it so.
Yes, this is what I want to do. Numeric methods will go into a NumericCollectionTrait, string methods will go into a string collection trait, tabular collection methods into a tabular collection trait, etc. This way I can extend RecursiveTreeIterator for MultiCollection, etc. etc.
There's a lot of functionality within the collections classes that could be moved into traits (and would make much more sense as traits). Make it so.
Yes, this is what I want to do. Numeric methods will go into a NumericCollectionTrait, string methods will go into a string collection trait, tabular collection methods into a tabular collection trait, etc. This way I can extend RecursiveTreeIterator for MultiCollection, etc. etc.