SortedMiddleware::whereStrict()

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

SortedMiddleware::whereInStrict()

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

SortedMiddleware::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

SortedMiddleware::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

SortedMiddleware::values()

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

SortedMiddleware::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

SortedMiddleware::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

SortedMiddleware::union()

Collection union(mixed $items) Union the collection with the given items. Parameters mixed $items Return Value Collection

SortedMiddleware::transform()

$this transform(callable $callback) Transform each item in the collection using a callback. Parameters callable $callback Return Value $this

SortedMiddleware::toJson()

string toJson(int $options) Get the collection of items as JSON. Parameters int $options Return Value string