PopupDataItem extends RestConvertible
Table of Contents
Methods
- getRestEntityName() : string
- Returns the name of the entity that will be used in the rest response
- merge() : $this
- toRestFormat() : array<string|int, mixed>|null
- Returns an array in JSON like format to return the entity as a rest response.
Methods
getRestEntityName()
Returns the name of the entity that will be used in the rest response
public
static getRestEntityName() : string
Return values
stringmerge()
public
merge(static $item) : $this
Parameters
- $item : static
Return values
$thistoRestFormat()
Returns an array in JSON like format to return the entity as a rest response.
public
toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
- $option : array<string|int, mixed> = []