public
|
slice(int<0, max> $start, null|int<0, max> $length = null): CollectionInterface<TKey, T>
Takes a slice from a collection and returns it
as a new collection.
Takes a slice from a collection and returns it
as a new collection.
Parameters
$start |
Start offset
|
$length |
Length of collection (if not specified,
all remaining values from the collection
are used)
|
Implemented by
|
#
|