Skip to content

Add unique() method #371

@ahmedghanem00

Description

@ahmedghanem00

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions