collections icon indicating copy to clipboard operation
collections copied to clipboard

Collections Abstraction Library

Results 51 collections issues
Sort by recently updated
recently updated
newest added

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())`...

BC break: no Version: 2.1.4 --- Summary: When attempting to `->match()` a slice of an extra lazy collection using strings as indexes, the produced result is not an associative array...

Hello! I'm looking for a way to reindex a collection using my own callable function. It might be something like that: ```php interface ReadableCollection extends Countable, IteratorAggregate { /* ......

Question

Adding 'not contains' operator to Comparison

HI, I report here my problem after being redirected by phpstan, see issue here : #https://github.com/phpstan/phpstan-doctrine/issues/428 Seem like filter method docbloc is missconfigured or something alike between Collection/ReadableCollection. With doctrine/collections...

In method `ClosureExpressionVisitor::sortByField()` we have the following sort function... ``` return function ($a, $b) use ($name, $next, $orientation) { $aValue = ClosureExpressionVisitor::getObjectFieldValue($a, $name); $bValue = ClosureExpressionVisitor::getObjectFieldValue($b, $name); if ($aValue ===...

Deprecation

Hello, world! Recently I got to know this amazing library and this is a lifesaver when we work with external JSON APIs (to sort, filter, etc). Since Doctrine Collections has...

Hello, so here is issue in doctrine with LazyCollections https://github.com/doctrine/orm/issues/8739#issuecomment-1992240793 Long story short if collection is lazy and we call remove() ideally we don't want to load whole collection into...

This is a new attempt to introduce a `prepend()` method to the `Collection` interface, after #162.