I have an Doctrine ArrayCollection of objects User, i want to check if an User exists in this ArrayCollection.
does it exist a method that compare the objects?
I have an Doctrine ArrayCollection of objects User, i want to check if an User exists in this ArrayCollection.
does it exist a method that compare the objects?