Flow PHP

DateTimeEntry implements Entry uses EntryRef

FinalYes
Tags
implements

Interfaces

Entry

Methods

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

Methods

__construct()

public __construct(string $name, DateTimeInterface|string|null $value[, Metadata|null $metadata = null ]) : mixed
Parameters
$name : string
$value : DateTimeInterface|string|null
$metadata : Metadata|null = null
Tags
throws
InvalidArgumentException

__toString()

public __toString() : string
Return values
string

map()

public map(callable $mapper) : Entry<string|int, T>
Parameters
$mapper : callable
Return values
Entry<string|int, T>

rename()

public rename(string $name) : Entry<string|int, T>
Parameters
$name : string
Return values
Entry<string|int, T>

type()

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

withValue()

public withValue(mixed $value) : Entry<string|int, T>
Parameters
$value : mixed
Return values
Entry<string|int, T>

        
On this page

Search results