Collection
The collection class provides a nicer interface around arrays of arrays or objects, with advanced filters, sorting, navigation and more.
- $collection->append()
- $collection->chunk()
- $collection->clone()
- $collection->count()
- $collection->current()
- $collection->data()
- $collection->empty()
- $collection->extend()
- $collection->filter()
- $collection->filterBy()
- $collection->find()
- $collection->findBy()
- $collection->findByKey()
- $collection->first()
- $collection->flip()
- $collection->get()
- $collection->getAttribute()
- $collection->getIterator()
- $collection->group()
- $collection->groupBy()
- $collection->has()
- $collection->indexOf()
- $collection->intersection()
- $collection->intersects()
- $collection->isEmpty()
- $collection->isEven()
- $collection->isNotEmpty()
- $collection->isOdd()
- $collection->key()
- $collection->keyOf()
- $collection->keys()
- $collection->last()
- $collection->limit()
- $collection->map()
- $collection->next()
- $collection->not()
- $collection->nth()
- $collection->offset()
- $collection->paginate()
- $collection->pagination()
- $collection->pluck()
- $collection->prepend()
- $collection->prev()
- $collection->query()
- $collection->random()
- $collection->remove()
- $collection->rewind()
- $collection->set()
- $collection->shuffle()
- $collection->slice()
- $collection->sort()
- $collection->sortBy()
- $collection->toArray()
- $collection->toJson()
- $collection->toString()
- $collection->valid()
- $collection->values()
- $collection->when()
- $collection->without()
- Collection::sortArgs()
- new Collection()