Novactive / NovaCollection

Collection implementation that wraps regular PHP arrays.
MIT License
9 stars 3 forks source link

[WIP] Feature doctrine compliance #10

Open Plopix opened 7 years ago

Plopix commented 7 years ago

The goal of this PR is to be compliant with Doctrine Array Collection. BUT, it is not easy as Doctrine does not provide anything to do that.

This approach override the ArrayCollection class through composer. The rest of the work would be to override the PersistentCollection class as well.

But NovaCollection provide a bunch of methods that make change in-place. Depending on this method we need to play with the getCollectionPersister etc..