Relation (Database\Eloquent\Relations)

Relation

class Relation (View source)

Methods

void __construct(Builder $query, Model $parent)

Create a new relation instance.

void addConstraints()

Set the base constraints on the relation query.

登录查看完整内容