trait HasCollection (View source)

Methods

TCollection
newCollection(array $models = [])

Create a new Eloquent Collection instance.

Details

TCollection newCollection(array $models = [])

Create a new Eloquent Collection instance.

Parameters

array $models

Return Value

TCollection