You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually not, as all the object use cases I'm interested in are represented as enums or enum-like values (represented as singletons, via the Flyweight pattern). Simple equality check by reference would be enough :)
Similar to
@UniqueElements
.#[AssertUniqueElements(comparator: ?callable)]
Optional
comparator
param to allow comparison of objects by value.The text was updated successfully, but these errors were encountered: