SortedMiddleware::pop()

mixed pop() Get and remove the last item from the collection. Return Value mixed

SortedMiddleware::pluck()

Collection pluck(string $value, string|null $key = null) Get the values of a given key. Parameters string $value string|null $key Return Value Collection

SortedMiddleware::prepend()

$this prepend(mixed $value, mixed $key = null) Push an item onto the beginning of the collection. Parameters mixed $value mixed $key Return Value $this

SortedMiddleware::pipe()

mixed pipe(callable $callback) Pass the collection to the given callback and return the result. Parameters callable $callback Return Value mixed

SortedMiddleware::offsetGet()

mixed offsetGet(mixed $key) Get an item at a given offset. Parameters mixed $key Return Value mixed

SortedMiddleware::offsetSet()

void offsetSet(mixed $key, mixed $value) Set the item at a given offset. Parameters mixed $key mixed $value Return Value void

SortedMiddleware::offsetUnset()

void offsetUnset(string $key) Unset the item at a given offset. Parameters string $key Return Value void

SortedMiddleware::only()

Collection only(mixed $keys) Get the items with the specified keys. Parameters mixed $keys Return Value Collection

SortedMiddleware::merge()

Collection merge(mixed $items) Merge the collection with the given items. Parameters mixed $items Return Value Collection

SortedMiddleware::min()

mixed min(callable|string|null $callback = null) Get the min value of a given key. Parameters callable|string|null $callback Return Value mixed