[FLOW3-general] Doctrine ArrayCollection/PersistentCollection

Heiko Kromm | Paints h.kromm at paints.de
Thu May 19 14:50:02 CEST 2011


Hi Karsten, 

I think I used an example where a rewind method was used on a ArrayCollection. 
But I can't find it now. Perhaps it was an older Doctrine implementation. 

Thanks 
Heiko 




Von: "Karsten Dambekalns" <karsten at typo3.org> 
An: flow3-general at lists.typo3.org 
Gesendet: Donnerstag, 19. Mai 2011 09:41:31 
Betreff: Re: [FLOW3-general] Doctrine ArrayCollection/PersistentCollection 

Hi. 

On 06.05.11 17:17, Heiko Kromm | Paints wrote: 
> I've a problem with my model properties of type \Doctrine\Common\Collections\ArrayCollection. 
> When I use my getter the returned value is of type \Doctrine\ORM\PersistentCollection and therefore I can't use the ArrayCollection functions on my returned value. 

That is expected behaviour. But since both implement the Collection 
interface, methods should be the same. What exactly is your issue? 

Regards, 
Karsten 
_______________________________________________ 
FLOW3-general mailing list 
FLOW3-general at lists.typo3.org 
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general 


More information about the FLOW3-general mailing list