Collection::whereIn()

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::whereIn()

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()

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()

Collection values() Reset the keys on the underlying array. Return Value Collection

Collection::values()

Collection values() Reset the keys on the underlying array. Return Value Collection

Collection::where()

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::uniqueStrict()

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()

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::uniqueStrict()

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()

Collection unique(string|callable|null $key = null, bool $strict = false) Return only unique items from the collection. Parameters string|callable|null $key bool $strict Return Value Collection