Flow PHP

StructureEntry implements Entry uses EntryRef

FinalYes
Tags
template
implements

Interfaces

Entry

Methods

__construct()  : mixed
__toString()  : string
definition()  : StructureDefinition<string|int, T>
duplicate()  : static
is()  : bool
isEqual()  : bool
map()  : static
name()  : string
ref()  : Reference
rename()  : static
toString()  : string
type()  : StructureType<string|int, T>
value()  : T
withValue()  : static

Methods

__construct()

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

map()

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

rename()

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

type()

public type() : StructureType<string|int, T>
Return values
StructureType<string|int, T>

withValue()

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

        
On this page

Search results