Documentation

Related extends Base
in package

Class Related.

Table of Contents

$id  : int
$name  : string
getArrayCopy()  : array<string|int, mixed>
Gets the attributes of this entity.
getId()  : int
getName()  : string
setEntityAttributes()  : $this
Sets the attributes of this entity.
setId()  : Related
setName()  : Related

Properties

Methods

getArrayCopy()

Gets the attributes of this entity.

public getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed>

getId()

public getId() : int
Return values
int

getName()

public getName() : string
Return values
string

setEntityAttributes()

Sets the attributes of this entity.

public setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
$attributes : array<string|int, mixed>
Return values
$this

Search results