collections
collections copied to clipboard
Add unique() method
Hi there,
I was in need to filter out the duplicate values from an ArrayCollection, but I couldn't find a method to do that. So I had to use array_unique($collection->toArray())
to get the job done.
Is there any reason to not add an unique() method to do such filtering ?
Thanks