Documentation

FlexIdentifier extends Identifier
in package

Interface IdentifierInterface

Tags
template
extends

Table of Contents

Properties

$keyField  : string
$object  : FlexObjectInterface|null

Methods

__construct()  : mixed
IdentifierInterface constructor.
__debugInfo()  : array<string|int, mixed>
createFromObject()  : FlexIdentifier<string|int, T>
getId()  : string
Get identifier's ID.
getObject()  : T
getType()  : string
Get identifier's type.
jsonSerialize()  : array<string|int, mixed>
setObject()  : void

Properties

Methods

__construct()

IdentifierInterface constructor.

public __construct(string $id, string $type[, string $keyField = 'key' ]) : mixed
Parameters
$id : string
$type : string
$keyField : string = 'key'

__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>

setObject()

public setObject(T $object) : void
Parameters
$object : T

        
On this page

Search results