Skip to content

Add unique() method #371

Open
Open
@ahmedghanem00

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions