MorphMany
class MorphMany extends MorphOneOrMany (View source)
Methods
void __construct(Builder $query, Model $parent, string $type, string $id, string $localKey) Create a new morph one or many relationship instance. from MorphOneOrMany void addConstraints() Set the base constraints on the relation query. from MorphOneOrMany void addEagerConstraints(array $models) Set the constraints for an eager load of the relation. from MorphOneOrMany array initRelation(array $models, strin