Identifier
in package
implements
IdentifierInterface
Interface IdentifierInterface
Tags
Table of Contents
Interfaces
- IdentifierInterface
- Interface IdentifierInterface
Properties
Methods
- __construct() : mixed
- IdentifierInterface constructor.
- __debugInfo() : array<string|int, mixed>
- getId() : string
- Get identifier's ID.
- getType() : string
- Get identifier's type.
- jsonSerialize() : array<string|int, mixed>
Properties
$id
private
string
$id
$type
private
string
$type
Methods
__construct()
IdentifierInterface constructor.
public
__construct(string $id, string $type) : mixed
Parameters
- $id : string
- $type : string
__debugInfo()
public
__debugInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>getId()
Get identifier's ID.
public
getId() : string
Tags
Return values
stringgetType()
Get identifier's type.
public
getType() : string
Tags
Return values
stringjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>