Flow PHP

Metadata

FinalYes

Constants

FROM_NULL  = 'from_null'

Methods

add()  : self
empty()  : self
fromArray()  : self
get()  : array<string|int, bool|float|int|string>|bool|float|int|string
getAs()  : TType|null
has()  : bool
isEmpty()  : bool
isEqual()  : bool
merge()  : self
normalize()  : array<string, array<string|int, bool|float|int|string>|bool|float|int|string>
remove()  : self
with()  : self

Constants

FROM_NULL

public mixed FROM_NULL = 'from_null'

Methods

add()

public add(string $key, array<string|int, bool|float|int|string>|bool|float|int|string $value) : self
Parameters
$key : string
$value : array<string|int, bool|float|int|string>|bool|float|int|string
Return values
self

empty()

public static empty() : self
Return values
self

fromArray()

public static fromArray(array<string, array<string|int, bool|float|int|string>|bool|float|int|string> $map) : self
Parameters
$map : array<string, array<string|int, bool|float|int|string>|bool|float|int|string>
Return values
self

get()

public get(string $key) : array<string|int, bool|float|int|string>|bool|float|int|string
Parameters
$key : string
Tags
throws
InvalidArgumentException
Return values
array<string|int, bool|float|int|string>|bool|float|int|string

getAs()

public getAs(string $key, Type<string|int, TType$type[, TType $default = null ]) : TType|null
Parameters
$key : string
$type : Type<string|int, TType>
$default : TType = null
Tags
template
Return values
TType|null

has()

public has(string $key) : bool
Parameters
$key : string
Return values
bool

isEmpty()

public isEmpty() : bool
Return values
bool

isEqual()

public isEqual(self $metadata) : bool
Parameters
$metadata : self
Return values
bool

merge()

public merge(self $metadata) : self
Parameters
$metadata : self
Return values
self

normalize()

public normalize() : array<string, array<string|int, bool|float|int|string>|bool|float|int|string>
Return values
array<string, array<string|int, bool|float|int|string>|bool|float|int|string>

remove()

public remove(string $key) : self
Parameters
$key : string
Return values
self

with()

public static with(string $key, array<string|int, bool|float|int|string>|bool|float|int|string $value) : self
Parameters
$key : string
$value : array<string|int, bool|float|int|string>|bool|float|int|string
Return values
self

        
On this page

Search results