array getDictionary(ArrayAccess|array|null $items = null) Get a dictionary keyed by primary keys. Parameters ArrayAccess|array|null $items Return Value array
CachingIterator getCachingIterator(int $flags = CachingIterator::CALL_TOSTRING) Get a CachingIterator instance. Parameters int $flags Return Value CachingIterator
mixed get(mixed $key, mixed $default = null) Get an item from the collection by key. Parameters mixed $key mixed $default Return Value mixed
Collection forPage(int $page, int $perPage) "Paginate" the collection by slicing it into a smaller collection. Parameters int $page int $perPage Return Value Collection
$this forget(string|array $keys) Remove an item from the collection by key. Parameters string|array $keys Return Value $this
Collection flip() Flip the items in the collection. Return Value Collection
Page 846 of 996