HasOneOrMany (Database\Eloquent\Relations)

HasOneOrMany

class HasOneOrMany extends Relation (View source)

Methods

void __construct( Builder $query, Model $parent, string $foreignKey, string $localKey)

Create a new has one or many relationship instance.

登录查看完整内容