Documentation

Identifier
in package
implements IdentifierInterface

Interface IdentifierInterface

Tags
template

Table of Contents

Interfaces

IdentifierInterface
Interface IdentifierInterface

Properties

$id  : string
$type  : string

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

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
phpstan-pure
Return values
string

getType()

Get identifier's type.

public getType() : string
Tags
phpstan-pure
Return values
string

jsonSerialize()

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

        
On this page

Search results