You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your collection implementation looks similar to Doctrines ArrayCollectionwithObjectRepository` ontop of it. What do you think about re-using some code from there?
You are right - nowadays most collection implementations are very similar (I've personally tried Laravel's, CakePHP's and Doctrine). I'll check - maybe I really should just import (probably extend) collection class from Doctrine or somewhere else
Your collection implementation looks similar to Doctrine
s
ArrayCollectionwith
ObjectRepository` ontop of it. What do you think about re-using some code from there?https://github.com/doctrine/collections/blob/master/lib/Doctrine/Common/Collections/ArrayCollection.php
https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Persistence/ObjectRepository.php
https://github.com/doctrine/collections/blob/master/lib/Doctrine/Common/Collections/Selectable.php
This could lead to some interoperability with other libraries.
The text was updated successfully, but these errors were encountered: