Collection::merge()

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

Collection::median()

mixed|null median(null $key = null) Get the median of a given key. Parameters null $key Return Value mixed|null

Collection::median()

mixed|null median(null $key = null) Get the median of a given key. Parameters null $key Return Value mixed|null

Collection::max()

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

Collection::max()

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

Collection::mapWithKeys()

Collection mapWithKeys(callable $callback) Run an associative map over each of the items. The callback should return an associative array with a single key/value pair. Parameters callable $callback Return Value Collection

Collection::mapWithKeys()

Collection mapWithKeys(callable $callback) Run an associative map over each of the items. The callback should return an associative array with a single key/value pair. Parameters callable $callback Return Value Collection

Collection::map()

Collection map(callable $callback) Run a map over each of the items. Parameters callable $callback Return Value Collection

Collection::map()

Collection map(callable $callback) Run a map over each of the items. Parameters callable $callback Return Value Collection

Collection::makeVisible()

$this makeVisible(array|string $attributes) Make the given, typically hidden, attributes visible across the entire collection. Parameters array|string $attributes Return Value $this