Collection whereStrict(string $key, mixed $value) Filter items by the given key value pair using strict comparison. Parameters string $key mixed $value Return Value Collection
Collection whereInStrict(string $key, mixed $values) Filter items by the given key value pair using strict comparison. Parameters string $key mixed $values Return Value Collection
Collection whereIn(string $key, mixed $values, bool $strict = false) Filter items by the given key value pair. Parameters string $key mixed $values bool $strict Return Value Collection
Collection where(string $key, mixed $operator, mixed $value = null) Filter items by the given key value pair. Parameters string $key mixed $operator mixed $value Return Value Collection
Collection values() Reset the keys on the underlying array. Return Value Collection
Collection uniqueStrict(string|callable|null $key = null) Return only unique items from the collection array using strict comparison. Parameters string|callable|null $key Return Value Collection
Collection unique(string|callable|null $key = null, bool $strict = false) Return only unique items from the collection array. Parameters string|callable|null $key bool $strict Return Value Collection
Collection union(mixed $items) Union the collection with the given items. Parameters mixed $items Return Value Collection
$this transform(callable $callback) Transform each item in the collection using a callback. Parameters callable $callback Return Value $this
string toJson(int $options) Get the collection of items as JSON. Parameters int $options Return Value string
Page 153 of 996