$this setRelations(array $relations) Set the entire relations array on
Collection union(mixed $items)
array all() Get all of the items in the collection.
array getTouchedRelations() Get the relationships that are touched on save
CachingIterator getCachingIterator(int $flags = CachingIterator::CALL_TOSTRING)
static void clearBootedModels() Clear the list of booted models
mixed get(mixed $key, mixed $default = null) Get an item from the collection
Collection mapWithKeys(callable $callback)
$this put(mixed $key, mixed $value) Put an item in the collection by key
Collection keys()
Page 7 of 32