Relation
implements
Arrayable
Table of Contents
Interfaces
- Arrayable
Methods
-
__construct()
: mixed
-
getEntity()
: Entity|null
-
getEventId()
: int
-
getOwner()
: Owner|null
-
setEntity()
: self
-
setOwner()
: self
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(int $eventId) : mixed
Parameters
-
$eventId
: int
-
getEntity()
public
getEntity() : Entity|null
getEventId()
public
getEventId() : int
getOwner()
public
getOwner() : Owner|null
setEntity()
public
setEntity(Entity $entity) : self
Parameters
-
$entity
: Entity
-
setOwner()
public
setOwner(Owner $owner) : self
Parameters
-
$owner
: Owner
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>