Collection flip() Flip the items in the collection. Return Value Collection
Collection flatten(int $depth = INF) Get a flattened array of the items in the collection. Parameters int $depth Return Value Collection
Collection flatMap(callable $callback) Map a collection and flatten the result by a single level. Parameters callable $callback Return Value Collection
mixed first(callable $callback = null, mixed $default = null) Get the first item from the collection. Parameters callable $callback mixed $default Return Value mixed
Collection filter(callable $callback = null) Run a filter over each of the items. Parameters callable $callback Return Value Collection
Model find(mixed $key, mixed $default = null) Find a model in the collection by key. Parameters mixed $key mixed $default Return Value Model
Collection except(mixed $keys) Get all items except for those with the specified keys. Parameters mixed $keys Return Value Collection
Page 847 of 996