HasUserAsOwnerMorph
Trait HasUserAsOwnerMorph.
Tags
Table of Contents
Properties
- $owner : User
- $owner_id : int
- $owner_type : string
- $ownerEntity : UserEntity
- $user_id : int
- $user_type : string
Methods
- owner() : MorphTo
- ownerEntity() : BelongsTo
- ownerId() : int
- ownerType() : string
Properties
$owner
public
User
$owner
$owner_id
public
int
$owner_id
$owner_type
public
string
$owner_type
$ownerEntity
public
UserEntity
$ownerEntity
$user_id
public
int
$user_id
$user_type
public
string
$user_type
Methods
owner()
public
owner() : MorphTo
Return values
MorphToownerEntity()
public
ownerEntity() : BelongsTo
Return values
BelongsToownerId()
public
ownerId() : int
Return values
intownerType()
public
ownerType() : string