MorphOneOrMany (Database\Eloquent\Relations)

MorphOneOrMany

class MorphOneOrMany extends HasOneOrMany (View source)

Methods

登录查看完整内容
void __construct( Builder $query, Model $parent, string $type, string $id, string $localKey)

Create a new morph one or many relationship instance.