void addEagerConstraints(array $models) Set the constraints for an eager
Builder getRelationQuery(
string wrap(string $value) Wrap the given value with the parent query's
Model getParent()
Model firstOrNew(array $attributes)
void addConstraints() Set the base constraints on the relation query.
array getObservableEvents() Get the observable event names.
string getForeignKey() Get the foreign key of the relationship.
Builder getRelationQueryForSelfJoin(
Model newFromBuilder(array $attributes = array(), string|null
Page 29 of 87