Flow PHP

DSL

Functions

type_union()

type_union(Type<string|int, T$first, Type<string|int, T$second, Type<string|int, T...$types) : UnionType<T, T>
Parameters
$first : Type<string|int, T>
$second : Type<string|int, T>
$types : Type<string|int, T>
Tags
template
Return values
UnionType<T, T>

type_from_array()

type_from_array(array<string|int, mixed> $data) : Type<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Return values
Type<string|int, mixed>

type_is_nullable()

type_is_nullable(Type<string|int, mixed> $type) : bool
Parameters
$type : Type<string|int, mixed>
Return values
bool

type_equals()

type_equals(Type<string|int, TLeft$left, Type<string|int, TRight$right) : bool
Parameters
$left : Type<string|int, TLeft>
$right : Type<string|int, TRight>
Tags
template
template
Return values
bool

type_list()

type_list(Type<string|int, T$element) : ListType<string|int, T>
Parameters
$element : Type<string|int, T>
Tags
template
Return values
ListType<string|int, T>

type_enum()

type_enum(T> $class) : EnumType<string|int, T>
Parameters
$class : T>
Tags
template
Return values
EnumType<string|int, T>

type_is()

type_is(Type<string|int, T$type, string $typeClass) : bool
Parameters
$type : Type<string|int, T>
$typeClass : string
Tags
template
Return values
bool

type_is_any()

type_is_any(Type<string|int, T$type, string $typeClass, string ...$typeClasses) : bool
Parameters
$type : Type<string|int, T>
$typeClass : string
$typeClasses : string
Tags
template
Return values
bool

get_type()

get_type(mixed $value) : Type<string|int, mixed>
Parameters
$value : mixed
Return values
Type<string|int, mixed>

dom_element_to_string()

dom_element_to_string(DOMElement $element[, bool $format_output = false ][, bool $preserver_white_space = false ]) : string|false
Parameters
$element : DOMElement
$format_output : bool = false
$preserver_white_space : bool = false
Return values
string|false

        
On this page

Search results