skeleton-mapper
skeleton-mapper copied to clipboard
Return iterable instead of array for findAll and findBy methods
trafficstars
What about using iterable type instead of array ? It will allow to return generators or custom result set implementations
I think we will have to wait for doctrine/persistence 2.0 to do this since the Doctrine\SkeletonMapper\ObjectRepository\ObjectRepositoryInterface class implements Doctrine\Common\Persistence\ObjectRepository which returns an array.