[FLOW3-general] Doctrine ArrayCollection/PersistentCollection

Karsten Dambekalns karsten at typo3.org
Thu May 19 09:41:31 CEST 2011


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


More information about the FLOW3-general mailing list