ItemInterface extends BaseInterface, ArrayAccess
Item interface.
Table of Contents
Methods
- getId() : string
- Returns the item's identifier.
- setId() : BaseInterface
- Set the item's identifier.
- toArray() : array<string|int, mixed>
- Returns properties as array.
Methods
getId()
Returns the item's identifier.
public
getId() : string
Return values
stringsetId()
Set the item's identifier.
public
setId(string $id) : BaseInterface
Parameters
- $id : string
Return values
BaseInterfacetoArray()
Returns properties as array.
public
toArray() : array<string|int, mixed>