string getForeignKey() Get the qualified foreign key on the related model
void addConstraints() Set the base constraints on the relation query.
Model getParent()
Model firstOrCreate(array $attributes, array $joining = array()
array attributesToArray() Convert the model's attributes to an array.
BelongsToMany withTimestamps(mixed
string getOtherKey() Get the associated key of the relationship.
Pivot newPivot(
$this setPivotKeys(string $foreignKey, string $otherKey) Set the key names
array getVisible() Get the visible attributes for the model.
Page 38 of 87