MorphOne (Database\Eloquent\Relations)

MorphOne

class MorphOne 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 inst