Collection::diff()

Collection diff(mixed $items) Diff the collection with the given items. Parameters mixed $items Return Value Collection

Collection::count()

int count() Count the number of items in the collection. Return Value int

Collection::containsStrict()

bool containsStrict(mixed $key, mixed $value = null) Determine if an item exists in the collection using strict comparison. Parameters mixed $key mixed $value Return Value bool

Collection::containsStrict()

bool containsStrict(mixed $key, mixed $value = null) Determine if an item exists in the collection using strict comparison. Parameters mixed $key mixed $value Return Value bool

Collection::combine()

Collection combine(mixed $values) Create a collection by using this collection for keys and another for its values. Parameters mixed $values Return Value Collection

Collection::contains()

bool contains(mixed $key, mixed $value = null) Determine if a key exists in the collection. Parameters mixed $key mixed $value Return Value bool

Collection::contains()

bool contains(mixed $key, mixed $value = null) Determine if an item exists in the collection. Parameters mixed $key mixed $value Return Value bool

Collection::combine()

Collection combine(mixed $values) Create a collection by using this collection for keys and another for its values. Parameters mixed $values Return Value Collection

Collection::collapse()

Collection collapse() Collapse the collection of items into a single array. Return Value Collection

Collection::collapse()

Collection collapse() Collapse the collection of items into a single array. Return Value Collection