Flow PHP

MapEntry implements Entry uses EntryRef

FinalYes
Tags
template
template

Interfaces

Entry

Methods

__construct()  : mixed
__toString()  : string
definition()  : MapDefinition<TKey, TValue>
duplicate()  : static
is()  : bool
isEqual()  : bool
map()  : static
name()  : string
ref()  : Reference
rename()  : static
toString()  : string
type()  : MapType<TKey, TValue>
value()  : T
withValue()  : static

Methods

__construct()

public __construct(string $name, array<string|int, mixed>|null $value, MapType<TKey, TValue$type[, Metadata|null $metadata = null ]) : mixed
Parameters
$name : string
$value : array<string|int, mixed>|null
$type : MapType<TKey, TValue>
$metadata : Metadata|null = null
Tags
throws
InvalidArgumentException

__toString()

public __toString() : string
Return values
string

duplicate()

public duplicate() : static
Return values
static

isEqual()

public isEqual(Entry $entry) : bool
Parameters
$entry : Entry
Return values
bool

map()

public map(callable $mapper) : static
Parameters
$mapper : callable
Return values
static

name()

public name() : string
Return values
string

rename()

public rename(string $name) : static
Parameters
$name : string
Return values
static

toString()

public toString() : string
Return values
string

type()

public type() : MapType<TKey, TValue>
Return values
MapType<TKey, TValue>

value()

public value() : T
Return values
T

withValue()

public withValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

        
On this page

Search results