$this prepend(mixed $value, mixed $key = null) Push an item onto the beginning of the collection. Parameters mixed $value mixed $key Return Value $this
mixed pop() Get and remove the last item from the collection. Return Value mixed
Collection pluck(string $value, string|null $key = null) Get the values of a given key. Parameters string $value string|null $key Return Value Collection
mixed pipe(callable $callback) Pass the collection to the given callback and return the result. Parameters callable $callback Return Value mixed
Collection only(mixed $keys) Get the items with the specified keys. Parameters mixed $keys Return Value Collection
void offsetUnset(string $key) Unset the item at a given offset. Parameters string $key Return Value void
void offsetSet(mixed $key, mixed $value) Set the item at a given offset. Parameters mixed $key mixed $value Return Value void
mixed offsetGet(mixed $key) Get an item at a given offset. Parameters mixed $key Return Value mixed
bool offsetExists(mixed $key) Determine if an item exists at an offset. Parameters mixed $key Return Value bool
array mode(null $key = null) Get the mode of a given key. Parameters null $key Return Value array
Page 156 of 996