Model replicate(array $except = null)
$this setKeyName(string $key) Set the primary key for the model.
Collection getEager()
bool totallyGuarded() Determine if the model is totally guarded.
Builder getRelationCountQuery(
static array morphMap(array $map = null, bool $merge = true) Set
mixed first(array $columns = array('*')) Execute the query and get the
string getForeignKey() Get the foreign key for the relationship.
void addConstraints() Set the base constraints on the relation query.
$this forceFill(array $attributes) Fill the model with an array of attributes
Page 13 of 87