Avatar implements Arrayable
FinalYes
Table of Contents
Interfaces
Methods
- __construct() : mixed
- getId() : string
- getType() : string
- setId() : self
- setType() : self
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct(string $type[, string $id = '' ]) : mixed
Parameters
- $type : string
- $id : string = ''
getId()
public
getId() : string
Return values
stringgetType()
public
getType() : string
Return values
stringsetId()
public
setId(string $id) : self
Parameters
- $id : string
Return values
selfsetType()
public
setType(string $type) : self
Parameters
- $type : string
Return values
selftoArray()
public
toArray() : array<string|int, mixed>