bool isEmpty() Determine if the collection is empty or not. Return Value bool
Collection intersect(mixed $items) Intersect the collection with the given items. Parameters mixed $items Return Value Collection
string implode(string $value, string $glue = null) Concatenate values of a given key as a string. Parameters string $value string $glue Return Value string
static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool
bool has(mixed $key) Determine if an item exists in the collection by key. Parameters mixed $key Return Value bool
Collection groupBy(callable|string $groupBy, bool $preserveKeys = false) Group an associative array by a field or using a callback. Parameters callable|string $groupBy bool $preserveKeys Return Value Collection
array getQueueableIds() Get the identifiers for all of the entities. Return Value array
string|null getQueueableClass() Get the type of the entities being queued. Return Value string|null
ArrayIterator getIterator() Get an iterator for the items. Return Value ArrayIterator
array getDictionary(ArrayAccess|array|null $items = null) Get a dictionary keyed by primary keys. Parameters ArrayAccess|array|null $items Return Value array
Page 747 of 996