public Illuminate\Database\Eloquent\Model find( mixed $key
mixed $default = null ) # Find a model in the collection by key.
public load( ) # Load a set of relationships onto the collection.
public Illuminate\Database\Eloquent\Collection add( mixed $item ) # Add an item to the collection.
public boolean contains( mixed $key ) # Determine if a key exists in the collection.
public array modelKeys( ) # Get the array of primary keys
Methods inherited from Illuminate\Support\Collection
- __construct()
- __toString()
- all()
- collapse()
- count()
- each()
- fetch()
- filter()
- first()
- flatten()
- forget()
- get()
- getIterator()
- has()
- implode()
- isEmpty()
- last()
- lists()
- make()
- map()
- merge()
- offsetExists()
- offsetGet()
- offsetSet()
- offsetUnset()
- pop()
- push()
- put()
- reverse()
- shift()
- slice()
- sort()
- sortBy()
- toArray()
- toJson()
- values()